Skip to content
  1. Sep 08, 2020
  2. Sep 07, 2020
  3. Sep 06, 2020
    • Roman Borschel's avatar
      Refactor & detach network metrics. (#6986) · cceb7fe8
      Roman Borschel authored
      * Refactor sc-network/service metrics.
      
        1. Aggregate sc-network metrics into a submodule, introducing
        two more sourced metrics to avoid duplicate atomics.
      
        2. Decouple periodic sc-service network metrics from other
        metrics, so that they can be updated independently.
      
      * Update client/service/src/metrics.rs
      
      * Update client/service/src/metrics.rs
      cceb7fe8
  4. Sep 04, 2020
  5. Sep 03, 2020
  6. Sep 02, 2020
    • Pierre Krieger's avatar
      Stop sending messages on legacy substream altogether (#6975) · eb52e43e
      Pierre Krieger authored
      
      
      * Stop sending messages on legacy substream altogether
      
      * Ensure that handshake is sent back even in case of back-pressure
      
      * Update client/network/src/protocol/generic_proto/handler/group.rs
      
      Co-authored-by: default avatarMax Inden <[email protected]>
      
      * Also process OpenRequest and Closed
      
      * Also process OpenRequest and Closed
      
      * Fix bad merge
      
      * God I'm so lost with all these merges
      
      * Immediately return Closed
      
      * Add warning for sending on non-registered protocol
      
      * Register GrandPa protocol in tests
      
      * Update client/network/src/protocol/generic_proto/handler/group.rs
      
      Co-authored-by: default avatarMax Inden <[email protected]>
      
      Co-authored-by: default avatarMax Inden <[email protected]>
      eb52e43e
    • Max Inden's avatar
      frame/authority-discovery: Have authorities() return both current and next (#6788) · 2e2b6fdd
      Max Inden authored
      * frame/authority-discovery: Have authorities() return both current and next
      
      Authority address lookups on the DHT happen periodically (every 10
      mintues) and are rather slow (~10 seconds).
      
      In order to smooth the transition period between two sessions, have the
      runtime module return both the current as well as the next authority
      set. Thereby the client authority module will:
      
      1. Publish its addresses one session in advance.
      
      2. Prefetch the addresses of authorities of the next session in advance.
      
      * frame/authority-discovery: Deduplicate authority ids
      
      * frame/authority-discovery: Don't dedup on_genesis authorities
      
      * frame/authority-discovery: Remove mut and sort on comparison in tests
      
      * frame/authority-discovery: Use BTreeSet for deduplication
      2e2b6fdd
    • Pierre Krieger's avatar
      Ensure that handshake is sent back even in case of back-pressure (#6979) · f0c6a846
      Pierre Krieger authored
      
      
      * Ensure that handshake is sent back even in case of back-pressure
      
      * Update client/network/src/protocol/generic_proto/handler/group.rs
      
      Co-authored-by: default avatarMax Inden <[email protected]>
      
      * Also process OpenRequest and Closed
      
      * Fix bad merge
      
      * God I'm so lost with all these merges
      
      * Immediately return Closed
      
      Co-authored-by: default avatarMax Inden <[email protected]>
      f0c6a846
  7. Sep 01, 2020
  8. Aug 31, 2020
  9. Aug 29, 2020
  10. Aug 28, 2020
    • Max Inden's avatar
      client/*: Treat protocol name as str and not [u8] (#6967) · beb74f49
      Max Inden authored
      * client/*: Treat protocol name as str and not [u8]
      
      Notification protocol names are in practice always valid utf8 strings.
      Instead of treating them as such in the type system, thus far they were
      casted to a [u8] at creation time.
      
      With this commit protocol names are instead treated as valid utf8
      strings throughout the codebase and passed as `Cow<'static, str>`
      instead of `Cow<'static, [u8]>`. Among other things this eliminates the
      need for string casting when logging.
      
      * client/network: Don't allocate when protocol name is borrowed
      beb74f49
    • Alexander Popiak's avatar
      add generated weight info for pallet-collective (#6789) · 86ae27e0
      Alexander Popiak authored
      
      
      * add benchmark for disapprove_proposal
      
      * use generated WeightInfo for pallet-collective weights
      
      * order collective benchmark params alphabetically to get a consistent ordering
      
      * address review comments
      
      * remove default impl of WeightInfo for ()
      
      * remove comments about weight changes
      
      * add default weights
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarGuillaume Thiolliere <[email protected]>
      
      * whitelist voter account in benchmark
      
      * update weights
      
      * MaxMembers configurable
      
      * remove base weight comment
      
      * add weight to technical collective
      
      * another DB whitelist optimization
      
      Co-authored-by: default avatarShawn Tabrizi <[email protected]>
      Co-authored-by: default avatarGuillaume Thiolliere <[email protected]>
      86ae27e0
  11. Aug 27, 2020
  12. Aug 26, 2020
  13. Aug 25, 2020
  14. Aug 24, 2020