Skip leader slots until a vote lands (#15607)

This commit is contained in:
sakridge
2021-03-25 18:54:51 -07:00
committed by GitHub
parent b041b55028
commit b99ae8f334
9 changed files with 117 additions and 25 deletions

View File

@ -53,6 +53,7 @@ pub fn safe_clone_config(config: &ValidatorConfig) -> ValidatorConfig {
tpu_coalesce_ms: config.tpu_coalesce_ms,
validator_exit: Arc::new(RwLock::new(ValidatorExit::default())),
poh_hashes_per_batch: config.poh_hashes_per_batch,
no_wait_for_vote_to_start_leader: config.no_wait_for_vote_to_start_leader,
}
}