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
Implement the syncing with all validators functionality. (#4558)
## Motivation
In operations, it is useful to be able to sync with all validators in
one single operation.
Fixes#4488
## Proposal
The implementation is straightforward.
## Test Plan
The CI.
I did test with README.md kind of files and added a `linera
sync-all-validators` function. And it does access to the validators
without error.
I did not test that the syncing does happen, though.
I created issue #4535 that shows some idea for improving the syncing
with validators.
## Release Plan
Fully compatible with existing DevNet / TestNet.
## Links
None.
@@ -87,6 +88,7 @@ Client implementation and command-line tool for the Linera blockchain
87
88
*`query-validator` — Show the version and genesis config hash of a new validator, and print a warning if it is incompatible. Also print some information about the given chain while we are at it
88
89
*`query-validators` — Show the current set of validators for a chain. Also print some information about the given chain while we are at it
89
90
*`sync-validator` — Synchronizes a validator with the local state of chains
91
+
*`sync-all-validators` — Synchronizes all validators with the local state of chains
90
92
*`set-validator` — Add or modify a validator (admin only)
91
93
*`remove-validator` — Remove a validator (admin only)
92
94
*`revoke-epochs` — Deprecates all committees up to and including the specified one
@@ -440,6 +442,18 @@ Synchronizes a validator with the local state of chains
440
442
441
443
442
444
445
+
## `linera sync-all-validators`
446
+
447
+
Synchronizes all validators with the local state of chains
448
+
449
+
**Usage:**`linera sync-all-validators [OPTIONS]`
450
+
451
+
###### **Options:**
452
+
453
+
*`--chains <CHAINS>` — The chains to synchronize, or the default chain if empty
0 commit comments