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