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 authored and GitHub committed 2021-03-19 07:20:38 +00:00
1 parent 15ae5dd410
commit 59640a38bc
3 files changed
+31 -7

No files matched your search

+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;