Function sc_network::warp_request_handler::generate_request_response_config [−][src]
pub fn generate_request_response_config(
protocol_id: ProtocolId
) -> RequestResponseConfig
Expand description
Generates a RequestResponseConfig
for the grandpa warp sync request protocol, refusing incoming requests.