Skip to content
  1. May 02, 2023
  2. Apr 29, 2023
  3. Apr 27, 2023
  4. Apr 25, 2023
  5. Apr 21, 2023
    • ordian's avatar
      cargo upgrade --workspace kvdb-rocksdb (#13973) · 58f5cd6a
      ordian authored
      58f5cd6a
    • Aaro Altonen's avatar
      Evict inactive peers from `SyncingEngine` (#13829) · 0e46c931
      Aaro Altonen authored
      * Evict inactive peers from `SyncingEngine`
      
      If both halves of the block announce notification stream have been
      inactive for 2 minutes, report the peer and disconnect it, allowing
      `SyncingEngine` to free up a slot for some other peer that hopefully
      is more active.
      
      This needs to be done because the node may falsely believe it has open
      connections to peers because the inbound substream can be closed without
      any notification and closed outbound substream is noticed only when node
      attempts to write to it which may not happen if the node has nothing to
      send.
      
      * zzz
      
      * wip
      
      * Evict peers only when timeout expires
      
      * Use `debug!()`
      
      ---------
      
      Co-authored-by: parity-processbot <>
      0e46c931
  6. Apr 20, 2023
  7. Apr 19, 2023
    • Davide Galassi's avatar
      VRF refactory (#13889) · bb394e08
      Davide Galassi authored
      
      
      * First iteration to encapsulate schnorrkel and merlin usage
      
      * Remove schnorkel direct dependency from BABE pallet
      
      * Remove schnorrkel direct dependency from BABE client
      
      * Trivial renaming for VrfTranscript data and value
      
      * Better errors
      
      * Expose a function to get a schnorrkel friendly transcript
      
      * Keep the vrf signature stuff together (preventing some clones around)
      
      * Fix tests
      
      * Remove vrf agnostic transcript and define it as an associated type for VrfSigner and VrfVerifier
      
      * Fix babe pallet mock
      
      * Inner types are required to be public for polkadot
      
      * Update client/consensus/babe/src/verification.rs
      
      Co-authored-by: default avatarKoute <[email protected]>
      
      * Nit
      
      * Remove Deref implementations
      
      * make_bytes as a method
      
      * Trigger CI
      
      ---------
      
      Co-authored-by: default avatarKoute <[email protected]>
      bb394e08
    • Bastian Köcher's avatar
      43f9fd93
  8. Apr 18, 2023
  9. Apr 15, 2023
  10. Apr 14, 2023
  11. Apr 12, 2023
  12. Apr 11, 2023
  13. Apr 10, 2023
  14. Apr 09, 2023
    • yjh's avatar
      refactor(sc-executor): use wasm executor builder instead of old apis (#13740) · d5e460b3
      yjh authored
      * refactor: use builder api for all executors
      
      * improve a lot
      
      * remove unused args
      
      * cleanup deps
      
      * fix inconsistency about heap alloc
      
      * add `heap_pages` back to try-runtime
      
      * fix
      
      * chore: reduce duplicated code for sc-service-test
      
      * cleanup code
      
      * fmt
      
      * improve test executor
      
      * improve
      
      * use #[deprecated]
      
      * set runtime_cache_size: 4
      
      * fix and improve
      
      * refactor builder
      
      * fix
      
      * fix bench
      
      * fix tests
      
      * fix warnings
      
      * fix warnings
      
      * fix
      
      * fix
      
      * update by suggestions
      
      * update name
      d5e460b3
  15. Apr 07, 2023
  16. Apr 06, 2023
  17. Apr 05, 2023
  18. Apr 04, 2023
    • s0me0ne-unkn0wn's avatar
      Expose WASM extensions in executor semantics (#13811) · 07660723
      s0me0ne-unkn0wn authored
      * Expose WASM extensions in executor semantics
      
      * Fix benches
      
      * Remove redundant extensions
      07660723
    • Bastian Köcher's avatar
      Remove deprecated batch verification (#13799) · 846ec8cd
      Bastian Köcher authored
      This removes the deprecated batch verification. This was actually never really activated.
      Nevertheless, we need to keep the host functions around to support old runtimes which may import
      these host functions. However, we do not give access to these functions anymore. This means that any new
      runtime can not call them anymore. The host function implementations we keep will not do batch verification and will
      instead fall back to the always existing option of directly verifying the passed signature.
      `finish_batch_verification` will return the combined result of all the batch verify calls.
      
      This removes the `TaskExecutorExt` which only existed to support the batch verification. So, any
      code that used this extension can just remove the registration of them. It also removes
      `SignatureBatching` that was used by `frame-executive` to control the batch verification.
      However, there wasn't any `Verify` implementation that called the batch verification functions.
      846ec8cd
  19. Apr 03, 2023
  20. Mar 31, 2023
  21. Mar 30, 2023
    • Adrian Catangiu's avatar
      BEEFY: gossip finality proofs (#13727) · 92c1229e
      Adrian Catangiu authored
      * sc-consensus-beefy: add justifications to gossip protocol
      
      * sc-consensus-beefy: voter gossips finality proofs
      
      * sc-consensus-beefy: add finality proof gossip test
      
      * sc-consensus-beefy: always gossip finality proof
      
      Gossip finality proof in _both_ cases of reaching finality threshold
      through votes:
      1. threshold reached through self vote,
      2. threshold reached through incoming vote.
      
      * address comments
      92c1229e