mirror of
https://github.com/sigp/lighthouse.git
synced 2026-07-02 20:34:27 +00:00
Deprecate some reorg-related CLI flags and read from spec (#9177)
- #9123 Co-Authored-By: Tan Chee Keong <tanck@sigmaprime.io> Co-Authored-By: chonghe <44791194+chong-he@users.noreply.github.com>
This commit is contained in:
@@ -14,14 +14,6 @@ attestations and transactions that can be included.
|
||||
There are three flags which control the re-orging behaviour:
|
||||
|
||||
* `--disable-proposer-reorgs`: turn re-orging off (it's on by default).
|
||||
* `--proposer-reorg-threshold N`: attempt to orphan blocks with less than N% of the committee vote. If this parameter isn't set then N defaults to 20% when the feature is enabled.
|
||||
* `--proposer-reorg-epochs-since-finalization N`: only attempt to re-org late blocks when the number of epochs since finalization is less than or equal to N. The default is 2 epochs,
|
||||
meaning re-orgs will only be attempted when the chain is finalizing optimally.
|
||||
* `--proposer-reorg-cutoff T`: only attempt to re-org late blocks when the proposal is being made
|
||||
before T milliseconds into the slot. Delays between the validator client and the beacon node can
|
||||
cause some blocks to be requested later than the start of the slot, which makes them more likely
|
||||
to fail. The default cutoff is 1000ms on mainnet, which gives blocks 3000ms to be signed and
|
||||
propagated before the attestation deadline at 4000ms.
|
||||
* `--proposer-reorg-disallowed-offsets N1,N2,N3...`: Prohibit Lighthouse from attempting to reorg at
|
||||
specific offsets in each epoch. A disallowed offset `N` prevents reorging blocks from being
|
||||
proposed at any `slot` such that `slot % SLOTS_PER_EPOCH == N`. The value to this flag is a
|
||||
|
||||
Reference in New Issue
Block a user