Crate sc_finality_grandpa_warp_sync[][src]

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

Structs

GrandpaWarpSyncRequestHandler

Handler for incoming grandpa warp sync requests from a remote peer.

Functions

generate_request_response_config

Generates a RequestResponseConfig for the grandpa warp sync request protocol, refusing incoming requests.

request_response_config_for_chain

Generates the appropriate RequestResponseConfig for a given chain configuration.