Function sc_finality_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::NetworkConfiguration::extra_sets
.
For standard protocol name see crate::protocol_standard_name
.