-
Notifications
You must be signed in to change notification settings - Fork 19
Enable auto quorum set configuration by default #371
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -177,14 +177,12 @@ type InvariantChecksSpec = | |||||||||||
| // Determines how quorum set configurations should be generated | ||||||||||||
| type QuorumSetConfiguration = | ||||||||||||
| // Prefer automatic quorum set configuration. Fall back on explicit quorum | ||||||||||||
| // set configuration if automatic configuration is not possible, or if | ||||||||||||
| // --enable-relaxed-auto-qset-config is not set. | ||||||||||||
| // set configuration if automatic configuration is not possible. | ||||||||||||
|
Comment on lines
179
to
+180
|
||||||||||||
| | PreferAutoQset | ||||||||||||
| // Require automatic quorum set configuration. Fail if automatic | ||||||||||||
| // configuration is not possible. Uses automatic configuration even if | ||||||||||||
| // --enable-relaxed-auto-qset-config is not set, so missions using this | ||||||||||||
| // option *must* satisfy the HIGH quality validator checks present in | ||||||||||||
| // stellar-core. | ||||||||||||
| // configuration is not possible. Missions using this option *must* satisfy | ||||||||||||
| // the HIGH quality validator checks present in stellar-core, or set | ||||||||||||
| // `skipHighCriticalValidatorChecks` to `true`. | ||||||||||||
|
Comment on lines
182
to
+185
|
||||||||||||
| | RequireAutoQset | ||||||||||||
| // Require explicit quorum set configuration. | ||||||||||||
| | RequireExplicitQset | ||||||||||||
|
|
@@ -222,9 +220,9 @@ type CoreSetOptions = | |||||||||||
| addArtificialDelayUsec: int option | ||||||||||||
| surveyPhaseDuration: int option | ||||||||||||
| updateSorobanCosts: bool option | ||||||||||||
| // `skipHighCriticalValidatorChecks` exists to allow supercluster to | ||||||||||||
| // remain compatible with older stellar-core images that do not have the | ||||||||||||
| // ability to turn of validator checks for HIGH and CRITICAL validators | ||||||||||||
| // `skipHighCriticalValidatorChecks` controls whether to set | ||||||||||||
| // SKIP_HIGH_CRITICAL_VALIDATOR_CHECKS_FOR_TESTING in stellar-core config, | ||||||||||||
| // which disables validator checks for HIGH and CRITICAL validators. | ||||||||||||
|
Comment on lines
+224
to
+225
|
||||||||||||
| // SKIP_HIGH_CRITICAL_VALIDATOR_CHECKS_FOR_TESTING in stellar-core config, | |
| // which disables validator checks for HIGH and CRITICAL validators. | |
| // SKIP_HIGH_CRITICAL_VALIDATOR_CHECKS_FOR_TESTING in stellar-core config | |
| // when relaxed auto-qset config is enabled, which disables validator | |
| // checks for HIGH and CRITICAL validators. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With this option now defaulting to
true, the help text reads like it is an opt-in flag. Consider amending the HelpText to explicitly state that it defaults to enabled and that users can opt out by passing--enable-relaxed-auto-qset-config=false(important if someone needs to run against an older stellar-core image that doesn’t support the config key).