pub fn generate_request_response_config<Hash: AsRef<[u8]>, B: BlockT, N: NetworkBackend<B, <B as BlockT>::Hash>>(
protocol_id: ProtocolId,
genesis_hash: Hash,
fork_id: Option<&str>,
inbound_queue: Sender<IncomingRequest>,
) -> N::RequestResponseProtocolConfig
Expand description
Generates a RequestResponseProtocolConfig
for the grandpa warp sync request protocol, refusing
incoming requests.