mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-02-02 01:36:06 +00:00
Increase minPeers in PeerPool to PeerPool default (10)
This commit is contained in:
parent
f9e0418b5b
commit
497f88c20d
@ -67,7 +67,7 @@ when useRLPx:
|
|||||||
# TODO there are more networking options to add here: local bind ip, ipv6
|
# TODO there are more networking options to add here: local bind ip, ipv6
|
||||||
# etc.
|
# etc.
|
||||||
return newEthereumNode(keys, address, 0,
|
return newEthereumNode(keys, address, 0,
|
||||||
nil, clientId, minPeers = 1)
|
nil, clientId)
|
||||||
|
|
||||||
proc saveConnectionAddressFile*(node: Eth2Node, filename: string) =
|
proc saveConnectionAddressFile*(node: Eth2Node, filename: string) =
|
||||||
writeFile(filename, $node.listeningAddress)
|
writeFile(filename, $node.listeningAddress)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user