use floodsub instead of gossipsub
This commit is contained in:
parent
ba9c90c0a1
commit
b39f36b49b
|
@ -155,7 +155,7 @@ when networkBackend in [libp2p, libp2pDaemon]:
|
||||||
# that are different from the host address (this is relevant when we
|
# that are different from the host address (this is relevant when we
|
||||||
# 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 = false)
|
||||||
result = Eth2Node.init(conf, switch, keys.seckey)
|
result = Eth2Node.init(conf, switch, keys.seckey)
|
||||||
for enr in bootstrapEnrs:
|
for enr in bootstrapEnrs:
|
||||||
result.addKnownPeer(enr)
|
result.addKnownPeer(enr)
|
||||||
|
|
Loading…
Reference in New Issue