forked from solana-labs/solana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add checks when constructing a BankSnapshotInfo from a directory (sol…
…ana-labs#30373) * Read snapshot directories and find the highest * format check * Fix test_get_bank_snapshots * fix test_bank_fields_from_snapshot * review changes, is_file etc * removed incremental snapshot * SnapshotNewFromDirError * nit and comments issues * NewFromDir(#[from] SnapshotNewFromDirError) * change fill to create * replace unwrap with map_err and ok_or_else * Remove BankForks, fix the bank loop
- Loading branch information
1 parent
8cc16e1
commit f095ef8
Showing
1 changed file
with
190 additions
and
24 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