pub fn generate_protocol_config(protocol_id: &ProtocolId) -> ProtocolConfig
Expand description

Generates a ProtocolConfig for the block request protocol, refusing incoming requests.