Optimize stakes cache and rewards at epoch boundaries (backport #20432) (#20472)

* Optimize stakes cache and rewards at epoch boundaries (backport #20432)

* fix conflicts
This commit is contained in:
Justin Starry
2021-10-06 12:15:27 -04:00
committed by GitHub
parent 95ac00d30a
commit d922971ec6
10 changed files with 739 additions and 47 deletions

View File

@@ -57,6 +57,7 @@ pub fn safe_clone_config(config: &ValidatorConfig) -> ValidatorConfig {
poh_hashes_per_batch: config.poh_hashes_per_batch,
no_wait_for_vote_to_start_leader: config.no_wait_for_vote_to_start_leader,
accounts_shrink_ratio: config.accounts_shrink_ratio,
disable_epoch_boundary_optimization: config.disable_epoch_boundary_optimization,
}
}