forked from solana-labs/solana
-
Notifications
You must be signed in to change notification settings - Fork 270
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ledger-tool: Add shred-version arg to bigtable shreds command (#2346)
Currently, the bigtable shreds command determines several values needed for shredding by reconstructing a Bank. The values that are pulled out of the Bank are shred version, and two PoH parameters. The PoH parameters are only used if --allow-mock-poh is used. Reconstructing a Bank can be non-trivial, and shred version changes fairly infrequently. So, allow a user to bypass Bank reconstruction by passing in a shred version; use of the new --shred-version arg conflicts with --allow-mock-poh.
- Loading branch information
Showing
1 changed file
with
119 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters