add --limit_load_slot_count_from_snapshot to ledger-tool (#17417)
This commit is contained in:
committed by
GitHub
parent
bb72ab7f1b
commit
6b9d8d41a3
@ -71,6 +71,7 @@ pub fn load(
|
||||
Some(&crate::builtins::get(process_options.bpf_jit)),
|
||||
process_options.account_indexes.clone(),
|
||||
process_options.accounts_db_caching_enabled,
|
||||
process_options.limit_load_slot_count_from_snapshot,
|
||||
)
|
||||
.expect("Load from snapshot failed");
|
||||
if let Some(shrink_paths) = shrink_paths {
|
||||
|
@ -368,6 +368,7 @@ pub struct ProcessOptions {
|
||||
pub debug_keys: Option<Arc<HashSet<Pubkey>>>,
|
||||
pub account_indexes: AccountSecondaryIndexes,
|
||||
pub accounts_db_caching_enabled: bool,
|
||||
pub limit_load_slot_count_from_snapshot: Option<usize>,
|
||||
pub allow_dead_slots: bool,
|
||||
pub accounts_db_test_hash_calculation: bool,
|
||||
}
|
||||
|
Reference in New Issue
Block a user