solana/runtime/benches
Lijun Wang 269d995832
Make account shrink configurable #17544 (#17778)
1. Added both options for measuring space usage using total accounts usage and for individual store shrink ratio using an enum. Validator CLI options: --accounts-shrink-optimize-total-space and --accounts-shrink-ratio
2. Added code for selecting candidates based on total usage in a separate function select_candidates_by_total_usage
3. Added unit tests for the new functions added
4. The default implementations is kept at 0.8 shrink ratio with --accounts-shrink-optimize-total-space set to true

Fixes #17544
2021-06-09 21:21:32 -07:00
..
accounts.rs Make account shrink configurable #17544 (#17778) 2021-06-09 21:21:32 -07:00
accounts_index.rs type AccountSecondaryIndexes = HashSet (#17108) 2021-05-10 14:22:48 +00:00
append_vec.rs ReadableAccount.data returns slice (#16686) 2021-04-20 16:41:16 -05:00
bank.rs Refactoring: Move KeyedAccounts to InvokeContext (#15410) 2021-04-19 18:48:48 +02:00
bloom.rs Clippy 2020-12-14 08:03:29 -08:00
message_processor.rs update timings only on outer call (#16275) 2021-03-31 18:02:59 -05:00
status_cache.rs Merge pull request from GHSA-8v47-8c53-wwrc 2021-04-13 00:28:08 -06:00