Function polkadot_network_bridge::peer_sets_info [−][src]
pub fn peer_sets_info(
is_authority: IsAuthority
) -> Vec<NonDefaultSetConfig, Global>
Expand description
Peer set info for network initialization.
To be added to [NetworkConfiguration::extra_sets
].
Get NonDefaultSetConfig
s for all available peer sets.
Should be used during network configuration (added to [NetworkConfiguration::extra_sets
])
or shortly after startup to register the protocols with the network service.