Don't accept incoming connections for collators (#2644)

* Don't accept incoming connections for collators

on the `Collation` peer set.

* Better docs.
This commit is contained in:
Robert Klotzner
2021-03-19 08:20:38 +01:00
committed by GitHub
parent 15ae5dd410
commit 59640a38bc
3 changed files with 31 additions and 7 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ use polkadot_node_network_protocol::{
/// Peer set infos for network initialization.
///
/// To be added to [`NetworkConfiguration::extra_sets`].
pub use polkadot_node_network_protocol::peer_set::peer_sets_info;
pub use polkadot_node_network_protocol::peer_set::{peer_sets_info, IsAuthority};
use std::collections::{HashMap, hash_map};
use std::iter::ExactSizeIterator;