Skip to content
  1. Nov 04, 2022
    • Sergej Sakac's avatar
      Move Throughput into `sc-sysinfo` (#12368) · 65b285e6
      Sergej Sakac authored
      
      
      * move Throughput to sc-sysinfo
      
      * replace u64
      
      * fix in tests
      
      * change Throughput
      
      * refactored Throughput
      
      * fixes
      
      * moved tests & fixes
      
      * custom serializer
      
      * note
      
      * fix serializer
      
      * forgot to remove
      
      * deserialize
      
      * functioning deserialization :)
      
      * try to make clipply happy
      
      * Serialize as function
      
      * test HwBench
      
      * rename
      
      * fix serialization
      
      * deserialize as function
      
      * unused import
      
      * move serialize/deserialize
      
      * don't serialize none
      
      * remove nonsense
      
      * remove nonsense comment :P
      
      * fixes
      
      * remove all the todos
      
      * return enum
      
      * fixes
      
      * fix nit
      
      * improve docs & readability
      
      * Update client/sysinfo/src/sysinfo.rs
      
      Co-authored-by: default avatarOliver Tale-Yazdi <[email protected]>
      
      * fix all the nits
      
      * rename
      
      * fix
      
      * Update client/sysinfo/src/sysinfo.rs
      
      Co-authored-by: default avatarOliver Tale-Yazdi <[email protected]>
      
      * remove unit from serialization
      
      * Update utils/frame/benchmarking-cli/src/machine/hardware.rs
      
      Co-authored-by: default avatarOliver Tale-Yazdi <[email protected]>
      65b285e6
  2. Nov 03, 2022
  3. Nov 02, 2022
  4. Nov 01, 2022
  5. Oct 31, 2022
  6. Oct 30, 2022
  7. Oct 29, 2022
  8. Oct 28, 2022
  9. Oct 27, 2022
  10. Oct 26, 2022
  11. Oct 25, 2022
  12. Oct 24, 2022
  13. Oct 22, 2022
    • Aaro Altonen's avatar
      Make `NetworkService` callable for `ChainSync` (#12542) · a877b0cc
      Aaro Altonen authored
      Introduce a middleware called `NetworkServiceProvider` which the
      `ChainSync` can use to communicate with `NetworkService`. `ChainSync` is
      given a `NetworkServiceHandle` which it uses to call `NetworkServiceProvider`
      which then dispatches the calls to `NetworkService` on behalf of `ChainSync`.
      
      This change will allow `ChainSync` to disconnect and report peers and
      in the future it'll be possible to send requests and notifications
      through the `NetworkServiceProvider`.
      
      `NetworkServiceProvider` is needed only until the `ChainSync` object
      has been removed from `Protocol`. After that, a normal `NetworkService`
      handle can be passed onto `ChainSync` and these changes can be
      deprecated.
      
      Co-authored-by: parity-processbot <>
      a877b0cc
  14. Oct 21, 2022
    • Shawn Tabrizi's avatar
      use headers on templates (#12546) · 932e1a33
      Shawn Tabrizi authored
      932e1a33
    • Michal Kucharczyk's avatar
      BlockId removal: refactor: Backend::begin_state_operation (#12541) · c0e8abe1
      Michal Kucharczyk authored
      It changes the arguments of `Backend::begin_state_operation`
      from: block: `BlockId<Block>` to: hash: `&Block::Hash`
      
      This PR is part of BlockId::Number refactoring analysis (paritytech/substrate#11292)
      c0e8abe1
    • Nazar Mokrynskyi's avatar
      Actually fix major sync detection (#12114) · bf57a2e9
      Nazar Mokrynskyi authored
      * Actually fix major sync detection
      
      * Introduce `SyncState::Importing` state
      
      * Add target to SyncState enum variants and add `is_major_syncing` method on it
      
      * Remove unnecessary duplicated `best_seen_block` from `SyncState` struct
      
      * Revert "Remove unnecessary duplicated `best_seen_block` from `SyncState` struct"
      
      This reverts commit bb8abd458c939881c049f69d59f3acba47c97c5c.
      
      * Add missing `websocket` feature to `libp2p`
      
      Co-authored-by: parity-processbot <>
      bf57a2e9