Use option for account index bucket parameter (#19150)

This commit is contained in:
Jeff Washington (jwash)
2021-08-10 11:32:25 -05:00
committed by GitHub
parent 8557dac51d
commit 651343688d
12 changed files with 33 additions and 32 deletions

View File

@ -132,7 +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,
None,
)
.expect("Load from snapshot failed");

View File

@ -416,7 +416,7 @@ pub fn process_blockstore(
opts.accounts_db_caching_enabled,
opts.shrink_ratio,
false,
solana_runtime::accounts_index::BINS_DEFAULT,
None, // later, this will be passed from ProcessOptions
);
let bank0 = Arc::new(bank0);
info!("processing ledger for slot 0...");