domain_service::network::execution_receipt_protocol

Function generate_protocol_config

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

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