solana/runtime/src
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
..
serde_snapshot type AccountSecondaryIndexes = HashSet (#17108) 2021-05-10 14:22:48 +00:00
accounts.rs include/exclude keys on account secondary index (#17110) 2021-05-11 22:06:22 +00:00
accounts_background_service.rs rename threads: 15 char limit (#16625) 2021-04-19 12:16:58 -05:00
accounts_cache.rs pass &Pubkey through account storage, slot clean code to reduce copies (#16778) 2021-04-27 09:10:06 -05:00
accounts_db.rs include/exclude keys on account secondary index (#17110) 2021-05-11 22:06:22 +00:00
accounts_hash.rs flatten_hash_intermediate sets capacity first (#17013) 2021-05-05 09:07:05 -05:00
accounts_index.rs include/exclude keys on account secondary index (#17110) 2021-05-11 22:06:22 +00:00
append_vec.rs Write account path impl ReadableAccount (#16779) 2021-04-28 15:29:22 -05:00
bank.rs include/exclude keys on account secondary index (#17110) 2021-05-11 22:06:22 +00:00
bank_client.rs
bank_forks.rs Issue #17008 -- make snapshot archives to hold on to configurable. (#17158) 2021-05-12 10:32:27 -07:00
bank_utils.rs Merge pull request from GHSA-8v47-8c53-wwrc 2021-04-13 00:28:08 -06:00
blockhash_queue.rs
bloom.rs
builtins.rs Refactoring: Move KeyedAccounts to InvokeContext (#15410) 2021-04-19 18:48:48 +02:00
commitment.rs clippy 2021-04-18 20:55:02 -07:00
contains.rs
epoch_stakes.rs
genesis_utils.rs clippy 2021-04-18 20:55:02 -07:00
hardened_unpack.rs
hashed_transaction.rs Merge pull request from GHSA-8v47-8c53-wwrc 2021-04-13 00:28:08 -06:00
inline_spl_token_v2_0.rs
instruction_recorder.rs
lib.rs Merge pull request from GHSA-8v47-8c53-wwrc 2021-04-13 00:28:08 -06:00
loader_utils.rs
log_collector.rs
message_processor.rs tests: lamports -> lamports() (#16982) 2021-05-03 10:45:54 -05:00
native_loader.rs ReadableAccount.data returns slice (#16686) 2021-04-20 16:41:16 -05:00
read_only_accounts_cache.rs tests: lamports += to checked_add (#16842) 2021-04-27 10:23:07 -05:00
rent_collector.rs tests: lamports -> lamports() (#16982) 2021-05-03 10:45:54 -05:00
secondary_index.rs
serde_snapshot.rs type AccountSecondaryIndexes = HashSet (#17108) 2021-05-10 14:22:48 +00:00
snapshot_package.rs
snapshot_utils.rs Issue #17008 -- make snapshot archives to hold on to configurable. (#17158) 2021-05-12 10:32:27 -07:00
stakes.rs lamports -> lamports() (#16920) 2021-04-29 10:44:46 -05:00
status_cache.rs Merge pull request from GHSA-8v47-8c53-wwrc 2021-04-13 00:28:08 -06:00
system_instruction_processor.rs tests: lamports -> lamports() (#16982) 2021-05-03 10:45:54 -05:00
transaction_batch.rs Merge pull request from GHSA-8v47-8c53-wwrc 2021-04-13 00:28:08 -06:00
vote_account.rs
vote_sender_types.rs