mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-02-23 11:48:33 +00:00
enable SO_REUSEADDR in libp2p transports
This commit is contained in:
parent
f0d02f5f29
commit
fc9d6bc1b3
@ -982,7 +982,7 @@ proc createEth2Node*(conf: BeaconNodeConf, enrForkId: ENRForkID): Future[Eth2Nod
|
|||||||
# are running behind a NAT).
|
# are running behind a NAT).
|
||||||
var switch = newStandardSwitch(some keys.seckey, hostAddress,
|
var switch = newStandardSwitch(some keys.seckey, hostAddress,
|
||||||
triggerSelf = true, gossip = true,
|
triggerSelf = true, gossip = true,
|
||||||
sign = false, verifySignature = false)
|
sign = false, verifySignature = false, transportFlags = {TransportFlag.ReuseAddr})
|
||||||
result = Eth2Node.init(conf, enrForkId, switch,
|
result = Eth2Node.init(conf, enrForkId, switch,
|
||||||
extIp, extTcpPort, extUdpPort,
|
extIp, extTcpPort, extUdpPort,
|
||||||
keys.seckey.asEthKey)
|
keys.seckey.asEthKey)
|
||||||
|
2
vendor/nim-libp2p
vendored
2
vendor/nim-libp2p
vendored
@ -1 +1 @@
|
|||||||
Subproject commit 6da4d2af48d273b01103a8c36a529876f40ed4d5
|
Subproject commit c88922401256cd6eb4c4bbdfdfe268456ab19e04
|
Loading…
x
Reference in New Issue
Block a user