plumb more accounts_index bins (#19123)

This commit is contained in:
Jeff Washington (jwash)
2021-08-10 05:45:46 -05:00
committed by GitHub
parent ef72a02da7
commit 47e0d9aa95
11 changed files with 46 additions and 8 deletions

View File

@ -132,6 +132,7 @@ fn load_from_snapshot(
process_options.accounts_db_test_hash_calculation,
process_options.accounts_db_skip_shrink,
process_options.verify_index,
solana_runtime::accounts_index::BINS_DEFAULT,
)
.expect("Load from snapshot failed");

View File

@ -416,6 +416,7 @@ pub fn process_blockstore(
opts.accounts_db_caching_enabled,
opts.shrink_ratio,
false,
solana_runtime::accounts_index::BINS_DEFAULT,
);
let bank0 = Arc::new(bank0);
info!("processing ledger for slot 0...");