mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-10 14:26:26 +00:00
Bump libp2p (#3207)
This commit is contained in:
parent
72658d42d2
commit
4a72def1d5
@ -66,7 +66,6 @@ type
|
||||
wantedPeers*: int
|
||||
peerPool*: PeerPool[Peer, PeerID]
|
||||
protocolStates*: seq[RootRef]
|
||||
libp2pTransportLoops*: seq[Future[void]]
|
||||
metadata*: altair.MetaData
|
||||
connectTimeout*: chronos.Duration
|
||||
seenThreshold*: chronos.Duration
|
||||
@ -1397,7 +1396,7 @@ proc startListening*(node: Eth2Node) {.async.} =
|
||||
quit 1
|
||||
|
||||
try:
|
||||
node.libp2pTransportLoops = await node.switch.start()
|
||||
await node.switch.start()
|
||||
except CatchableError:
|
||||
fatal "Failed to start LibP2P transport. TCP port may be already in use"
|
||||
quit 1
|
||||
@ -1872,6 +1871,7 @@ proc createEth2Node*(rng: ref BrHmacDrbgContext,
|
||||
params = GossipSubParams(
|
||||
explicit: true,
|
||||
pruneBackoff: 1.minutes,
|
||||
unsubscribeBackoff: 10.seconds,
|
||||
floodPublish: true,
|
||||
gossipFactor: 0.05,
|
||||
d: 8,
|
||||
|
2
vendor/nim-libp2p
vendored
2
vendor/nim-libp2p
vendored
@ -1 +1 @@
|
||||
Subproject commit 98184d9dfdd48f0d4ae9eb0c8d2995434293a35d
|
||||
Subproject commit 123bf290c3ad951429dd3b9bbab71bed6b55a53f
|
Loading…
x
Reference in New Issue
Block a user