remove index hash calculation as an option (#23928)

(cherry picked from commit c24de17278)

# Conflicts:
#	validator/src/main.rs
This commit is contained in:
Jeff Washington (jwash)
2022-03-25 15:32:53 -05:00
parent 832f524687
commit 87b797bd99
8 changed files with 38 additions and 24 deletions

View File

@@ -55,7 +55,6 @@ pub fn safe_clone_config(config: &ValidatorConfig) -> ValidatorConfig {
warp_slot: config.warp_slot,
accounts_db_test_hash_calculation: config.accounts_db_test_hash_calculation,
accounts_db_skip_shrink: config.accounts_db_skip_shrink,
accounts_db_use_index_hash_calculation: config.accounts_db_use_index_hash_calculation,
tpu_coalesce_ms: config.tpu_coalesce_ms,
validator_exit: Arc::new(RwLock::new(Exit::default())),
poh_hashes_per_batch: config.poh_hashes_per_batch,