Companion for paritytech/substrate#12441 (#6117)

* Companion for paritytech/substrate#12441

* update lockfile for {"substrate"}

Co-authored-by: parity-processbot <>
This commit is contained in:
Aaro Altonenandparity-processbot authored and GitHub committed 2022-10-10 11:13:59 +00:00
1 parent a4e33b13ac
commit 4819d12711
2 files changed
+180 -178

No files matched your search

+178 -178
View File
File diff suppressed because it is too large. Load diff
@@ -80,6 +80,7 @@ impl PeerSet {
notifications_protocol: protocol,
fallback_names,
max_notification_size,
handshake: None,
set_config: sc_network_common::config::SetConfig {
// we allow full nodes to connect to validators for gossip
// to ensure any `MIN_GOSSIP_PEERS` always include reserved peers
@@ -95,6 +96,7 @@ impl PeerSet {
notifications_protocol: protocol,
fallback_names,
max_notification_size,
handshake: None,
set_config: SetConfig {
// Non-authority nodes don't need to accept incoming connections on this peer set:
in_peers: if is_authority == IsAuthority::Yes { 100 } else { 0 },