solana/runtime
Lijun Wang 9c42a89a43
Issue #17008 -- make snapshot archives to hold on to configurable. (#17158)
* purge_old_snapshot_archives is changed to take an extra argument 'maximum_snapshots_to_retain' to control the max number of latest snapshot archives to retain. Note the oldest snapshot is always retained as before and is not subjected to this new options.
* The validator and ledger-tool executables are modified with a CLI argument --maximum-snapshots-to-retain. And the options are propagated down the call chains. Their corresponding shell scripts were changed accordingly.
* SnapshotConfig is modified to have an extra field for the maximum_snapshots_to_retain
* Unit tests are developed to cover purge_old_snapshot_archives
2021-05-12 10:32:27 -07:00
..
benches type AccountSecondaryIndexes = HashSet (#17108) 2021-05-10 14:22:48 +00:00
src Issue #17008 -- make snapshot archives to hold on to configurable. (#17158) 2021-05-12 10:32:27 -07:00
store-tool =1.7.0 2021-03-16 07:51:07 +00:00
tests tests: lamports -> lamports() (#16982) 2021-05-03 10:45:54 -05:00
.gitignore
Cargo.toml Remove blake3 from bpf program dependencies (#16506) 2021-04-13 10:06:05 +00:00
build.rs Remove frozen ABI modules from solana-sdk 2020-10-20 16:11:30 -07:00