Module block_relay_protocol

Source
Expand description

Block relay protocol related definitions.

Structs§

BlockRelayParams
Block relay specific params for network creation, specified in [‘sc_service::BuildNetworkParams’].

Enums§

BlockResponseError
Errors returned by BlockDownloader::block_response_into_blocks.

Traits§

BlockDownloader
The client side stub to download blocks from peers. This is a handle that can be used to initiate concurrent downloads.
BlockServer
The serving side of the block relay protocol. It runs a single instance of the server task that processes the incoming protocol messages.