Module sc_network_sync::block_request_handler
source · Expand description
Helper for handling (i.e. answering) block requests from a remote peer via the
crate::request_responses::RequestResponsesBehaviour
.
Structs§
- The full block server implementation of
BlockServer
. It handles the incoming block requests from a remote peer. - The full block downloader implementation of `BlockDownloader.
Functions§
- Generates a
RequestResponseProtocolConfig
for the block request protocol, refusing incoming requests.