mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 18:07:58 +00:00
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:
@@ -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 },
|
||||
|
||||
Reference in New Issue
Block a user