Module sc_network_common::sync
source · Expand description
Abstract interfaces and data structures related to network sync.
Modules
- Network packet message types. These get serialized and put into the lower level protocol payload.
Structs
- A peer did not behave as expected and should be reported.
- Wrapper for implementation-specific block request.
- Wrapper for implementation-specific block response.
- Wrapper for implementation-specific state request.
- Wrapper for implementation-specific state response.
- The sync status of a peer we are trying to sync with
- Reported state download progress.
- Syncing status and statistics.
Enums
- Block or justification request polled from
ChainSync
- Result of
ChainSync::on_block_data
. - Result of
ChainSync::on_block_justification
. - Result of
ChainSync::on_state_data
. - Result of
ChainSync::poll_block_announce_validation
. - Value polled from
ChainSync
- Operation mode.
- Reported sync state.
Traits
- Something that represents the syncing strategy to download past and future blocks of the chain.