Expand description
Helper for handling (i.e. answering) block requests from a remote peer via the
crate::request_responses::RequestResponsesBehaviour
.
Structs§
- Block
Request Handler - The full block server implementation of
BlockServer
. It handles the incoming block requests from a remote peer. - Full
Block Downloader - The full block downloader implementation of `BlockDownloader.
Functions§
- generate_
protocol_ config - Generates a
RequestResponseProtocolConfig
for the block request protocol, refusing incoming requests.