improve option naming
This commit is contained in:
parent
e13846bec6
commit
bde1eefdcf
|
@ -688,10 +688,10 @@ proc onSlotStart(node: BeaconNode, lastSlot, scheduledSlot: Slot) {.gcsafe, asyn
|
||||||
cat = "scheduling"
|
cat = "scheduling"
|
||||||
|
|
||||||
# Check before any re-scheduling of onSlotStart()
|
# Check before any re-scheduling of onSlotStart()
|
||||||
if node.config.checkEpochs > 0'u64 and
|
if node.config.stopAtEpoch > 0'u64 and
|
||||||
scheduledSlot.compute_epoch_at_slot() >= node.config.checkEpochs:
|
scheduledSlot.compute_epoch_at_slot() >= node.config.stopAtEpoch:
|
||||||
info "Stopping at pre-chosen epoch",
|
info "Stopping at pre-chosen epoch",
|
||||||
chosenEpoch = node.config.checkEpochs,
|
chosenEpoch = node.config.stopAtEpoch,
|
||||||
epoch = scheduledSlot.compute_epoch_at_slot(),
|
epoch = scheduledSlot.compute_epoch_at_slot(),
|
||||||
slot = scheduledSlot
|
slot = scheduledSlot
|
||||||
|
|
||||||
|
|
|
@ -137,10 +137,10 @@ type
|
||||||
desc: "Specify whether to verify finalization occurs on schedule, for testing."
|
desc: "Specify whether to verify finalization occurs on schedule, for testing."
|
||||||
name: "verify-finalization" }: bool
|
name: "verify-finalization" }: bool
|
||||||
|
|
||||||
checkEpochs* {.
|
stopAtEpoch* {.
|
||||||
defaultValue: 0
|
defaultValue: 0
|
||||||
desc: "A positive checkEpochs selects how many epochs to run."
|
desc: "A positive epoch selects the epoch at which to stop."
|
||||||
name: "check-epochs" }: uint64
|
name: "stop-at-epoch" }: uint64
|
||||||
|
|
||||||
metricsServer* {.
|
metricsServer* {.
|
||||||
defaultValue: false
|
defaultValue: false
|
||||||
|
|
Loading…
Reference in New Issue