pub fn generate_protocol_config<Hash: AsRef<[u8]>, B: Block, N: NetworkBackend<B, <B as Block>::Hash>>(
    protocol_id: &ProtocolId,
    genesis_hash: Hash,
    fork_id: Option<&str>,
    inbound_queue: Sender<IncomingRequest>,
) -> N::RequestResponseProtocolConfig
Expand description

Generates a RequestResponseProtocolConfig for the light client request protocol, refusing incoming requests.