Function sc_consensus_grandpa::grandpa_peers_set_config

source ยท
pub fn grandpa_peers_set_config(
    protocol_name: ProtocolName,
) -> NonDefaultSetConfig
Expand description

Returns the configuration value to put in sc_network::config::FullNetworkConfiguration. For standard protocol name see crate::protocol_standard_name.