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