add validator option --accounts-db-skip-shrink (#19028)

* add validator option --accounts-db-skip-shrink

* typo
This commit is contained in:
Jeff Washington (jwash)
2021-08-04 17:28:33 -05:00
committed by GitHub
parent 68cc71409e
commit 3280ae3e9f
9 changed files with 31 additions and 6 deletions

View File

@ -143,6 +143,7 @@ fn load_from_snapshot(
process_options.limit_load_slot_count_from_snapshot,
process_options.shrink_ratio,
process_options.accounts_db_test_hash_calculation,
process_options.accounts_db_skip_shrink,
process_options.verify_index,
)
.expect("Load from snapshot failed");

View File

@ -384,6 +384,7 @@ pub struct ProcessOptions {
pub limit_load_slot_count_from_snapshot: Option<usize>,
pub allow_dead_slots: bool,
pub accounts_db_test_hash_calculation: bool,
pub accounts_db_skip_shrink: bool,
pub verify_index: bool,
pub shrink_ratio: AccountShrinkThreshold,
}