Module sc_network::block_request_handler[][src]

Helper for handling (i.e. answering) block requests from a remote peer via the [crate::request_responses::RequestResponsesBehaviour].

Structs

BlockRequestHandler

Handler for incoming block requests from a remote peer.

Functions

generate_protocol_config

Generates a ProtocolConfig for the block request protocol, refusing incoming requests.