referrerpolicy=no-referrer-when-downgrade

Crate sc_network_sync

source ·
Expand description

Blockchain syncing implementation in Substrate.

Re-exports§

Modules§

  • Block relay protocol related definitions.
  • Nested message and enum types in BlockRequest.
  • Helper for handling (i.e. answering) block requests from a remote peer via the crate::request_responses::RequestResponsesBehaviour.
  • SyncingEngine is the actor responsible for syncing Substrate chain to tip and keep the blockchain up to date with network updates.
  • Contains mock implementations of ChainSync and ‘BlockDownloader’.
  • SyncingEngine-related service code
  • Helper for handling (i.e. answering) state requests from a remote peer via the crate::request_responses::RequestResponsesBehaviour.
  • SyncingStrategy defines an interface crate::engine::SyncingEngine uses as a specific syncing algorithm.
  • Common syncing types.
  • Helper for handling (i.e. answering) grandpa warp sync requests from a remote peer.

Structs§

Enums§