solana/core/tests
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
..
client.rs Cli: move airdrop to rpc requests (#16557) 2021-04-15 06:25:23 +00:00
cluster_info.rs Re-allow clippy::integer_arithmetic at crate-level 2021-02-17 13:55:08 -07:00
crds_gossip.rs reads gossip push messages off crds ordinal index 2021-05-09 22:40:41 +00:00
fork-selection.rs Re-allow clippy::integer_arithmetic at crate-level 2021-02-17 13:55:08 -07:00
gossip.rs implements cursor for gossip crds table queries (#16952) 2021-05-06 14:04:17 +00:00
ledger_cleanup.rs Re-allow clippy::integer_arithmetic at crate-level 2021-02-17 13:55:08 -07:00
rpc.rs Add TPU client for sending txs to the current leader tpu port (#16736) 2021-04-23 09:35:12 +08:00
snapshots.rs Issue #17008 -- make snapshot archives to hold on to configurable. (#17158) 2021-05-12 10:32:27 -07:00