Skip to content
Snippets Groups Projects
Commit 4819d127 authored by Aaro Altonen's avatar Aaro Altonen Committed by GitHub
Browse files

Companion for paritytech/substrate#12441 (#6117)

* Companion for paritytech/substrate#12441

* update lockfile for {"substrate"}

Co-authored-by: parity-processbot <>
parent a4e33b13
Branches
No related merge requests found
This diff is collapsed.
......@@ -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 },
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment