mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-02-17 00:47:03 +00:00
pass max peers to libp2p (#2265)
This commit is contained in:
parent
70a03658e3
commit
64e4d74f87
@ -1526,7 +1526,13 @@ proc newBeaconSwitch*(conf: BeaconNodeConf, seckey: PrivateKey,
|
||||
|
||||
let identify = newIdentify(peerInfo)
|
||||
|
||||
newSwitch(peerInfo, transports, identify, muxers, secureManagers)
|
||||
newSwitch(
|
||||
peerInfo,
|
||||
transports,
|
||||
identify,
|
||||
muxers,
|
||||
secureManagers,
|
||||
maxConnections = conf.maxPeers)
|
||||
|
||||
proc createEth2Node*(rng: ref BrHmacDrbgContext,
|
||||
conf: BeaconNodeConf,
|
||||
|
2
vendor/nim-libp2p
vendored
2
vendor/nim-libp2p
vendored
@ -1 +1 @@
|
||||
Subproject commit 0959877b29be802b857cb10ab194f5cf29e3649f
|
||||
Subproject commit 1d77d37f17a8d4b9bbafb83eae69790dad48b4c5
|
Loading…
x
Reference in New Issue
Block a user