mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-09 21:38:05 -05:00
revert revert of f6764fe62b (#12399)
This commit is contained in:
@@ -72,6 +72,9 @@ type Flags struct {
|
||||
// KeystoreImportDebounceInterval specifies the time duration the validator waits to reload new keys if they have
|
||||
// changed on disk. This feature is for advanced use cases only.
|
||||
KeystoreImportDebounceInterval time.Duration
|
||||
|
||||
// AggregateIntervals specifies the time durations at which we aggregate attestations preparing for forkchoice.
|
||||
AggregateIntervals []time.Duration
|
||||
}
|
||||
|
||||
var featureConfig *Flags
|
||||
@@ -218,6 +221,7 @@ func ConfigureBeaconChain(ctx *cli.Context) error {
|
||||
logEnabled(buildBlockParallel)
|
||||
cfg.BuildBlockParallel = true
|
||||
}
|
||||
cfg.AggregateIntervals = []time.Duration{aggregateFirstInterval.Value, aggregateSecondInterval.Value, aggregateThirdInterval.Value}
|
||||
Init(cfg)
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user