Module sc_network_sync::block_relay_protocol
source · Expand description
Block relay protocol related definitions.
Structs§
- Block relay specific params for network creation, specified in [‘sc_service::BuildNetworkParams’].
Enums§
- Errors returned by
BlockDownloader::block_response_into_blocks
.
Traits§
- The client side stub to download blocks from peers. This is a handle that can be used to initiate concurrent downloads.
- The serving side of the block relay protocol. It runs a single instance of the server task that processes the incoming protocol messages.