You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
f.String(prefix+".redis-url", DefaultSeqCoordinatorConfig.RedisUrl, "the Redis URL to coordinate via")
98
99
f.String(prefix+".new-redis-url", DefaultSeqCoordinatorConfig.NewRedisUrl, "switch to the new Redis URL to coordinate via")
100
+
f.Uint64(prefix+".redis-quorum-size", DefaultSeqCoordinatorConfig.RedisQuorumSize, "the quorum size needed to qualify a redis GET as valid")
99
101
f.String(prefix+".chosen-healthcheck-addr", DefaultSeqCoordinatorConfig.ChosenHealthcheckAddr, "if non-empty, launch an HTTP service binding to this address that returns status code 200 when chosen and 503 otherwise")
100
102
f.Duration(prefix+".lockout-duration", DefaultSeqCoordinatorConfig.LockoutDuration, "duration to hold the sequencer lockout after acquiring it")
101
103
f.Duration(prefix+".lockout-spare", DefaultSeqCoordinatorConfig.LockoutSpare, "time to subtract from lockout duration to ensure timely renewal")
@@ -117,6 +119,7 @@ var DefaultSeqCoordinatorConfig = SeqCoordinatorConfig{
117
119
ChosenHealthcheckAddr: "",
118
120
RedisUrl: "",
119
121
NewRedisUrl: "",
122
+
RedisQuorumSize: 1,
120
123
LockoutDuration: time.Minute,
121
124
LockoutSpare: 30*time.Second,
122
125
SeqNumDuration: 10*24*time.Hour,
@@ -136,6 +139,7 @@ var TestSeqCoordinatorConfig = SeqCoordinatorConfig{
@@ -65,6 +66,7 @@ func CachingConfigAddOptions(prefix string, f *flag.FlagSet) {
65
66
f.Bool(prefix+".disable-stylus-cache-metrics-collection", DefaultCachingConfig.DisableStylusCacheMetricsCollection, "disable metrics collection for the stylus cache")
66
67
f.String(prefix+".state-scheme", DefaultCachingConfig.StateScheme, "scheme to use for state trie storage (hash, path)")
67
68
f.Uint64(prefix+".state-history", DefaultCachingConfig.StateHistory, "number of recent blocks to retain state history for (path state-scheme only)")
69
+
f.Bool(prefix+".enable-preimages", DefaultCachingConfig.EnablePreimages, "enable recording of preimages")
0 commit comments