mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-02-27 13:40:43 +00:00
extend seen ttl to cover 2 epochs (#6098)
this allows us to drop these useless messages earlier in the pipeline https://github.com/ethereum/consensus-specs/pull/3627
This commit is contained in:
parent
4c0b9efb30
commit
032b91c631
@ -2315,7 +2315,8 @@ proc createEth2Node*(rng: ref HmacDrbgContext,
|
|||||||
historyLength: 6,
|
historyLength: 6,
|
||||||
historyGossip: 3,
|
historyGossip: 3,
|
||||||
fanoutTTL: chronos.seconds(60),
|
fanoutTTL: chronos.seconds(60),
|
||||||
seenTTL: chronos.seconds(385),
|
# 2 epochs matching maximum valid attestation lifetime
|
||||||
|
seenTTL: chronos.seconds(int(SECONDS_PER_SLOT * SLOTS_PER_EPOCH * 2)),
|
||||||
gossipThreshold: -4000,
|
gossipThreshold: -4000,
|
||||||
publishThreshold: -8000,
|
publishThreshold: -8000,
|
||||||
graylistThreshold: -16000, # also disconnect threshold
|
graylistThreshold: -16000, # also disconnect threshold
|
||||||
|
Loading…
x
Reference in New Issue
Block a user