Lower gossipFactor since we default to 160 peers (#2169)
And it might potentially send a bit more IHAVE messages then wanted.
This commit is contained in:
parent
e59437c5e2
commit
c91091197f
|
@ -1561,6 +1561,7 @@ proc createEth2Node*(rng: ref BrHmacDrbgContext,
|
||||||
p.historyLength = 6
|
p.historyLength = 6
|
||||||
p.historyGossip = 3
|
p.historyGossip = 3
|
||||||
p.seenTTL = 385.seconds
|
p.seenTTL = 385.seconds
|
||||||
|
p.gossipFactor = 0.05
|
||||||
p.validateParameters().tryGet()
|
p.validateParameters().tryGet()
|
||||||
p
|
p
|
||||||
pubsub = GossipSub.init(
|
pubsub = GossipSub.init(
|
||||||
|
|
Loading…
Reference in New Issue