Function sc_network::block_request_handler::generate_protocol_config
source · [−]pub fn generate_protocol_config(protocol_id: &ProtocolId) -> ProtocolConfig
Expand description
Generates a ProtocolConfig
for the block request protocol, refusing incoming requests.