referrerpolicy=no-referrer-when-downgrade

Module state_request_handler

Source
Expand description

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

Structs§

StateRequestHandler
Handler for incoming block requests from a remote peer.

Functions§

generate_protocol_config
Generates a RequestResponseProtocolConfig for the state request protocol, refusing incoming requests.