Lower vote-only-mode to 400 (#22210) (#22271)

(cherry picked from commit 2486e21ffe)

Co-authored-by: sakridge <sakridge@gmail.com>
This commit is contained in:
mergify[bot]
2022-01-04 14:17:31 +00:00
committed by GitHub
parent 6d7b64b140
commit f0de9b43be

View File

@ -1190,7 +1190,7 @@ impl ReplayStage {
); );
let root_distance = poh_slot - root_slot; let root_distance = poh_slot - root_slot;
const MAX_ROOT_DISTANCE_FOR_VOTE_ONLY: Slot = 500; const MAX_ROOT_DISTANCE_FOR_VOTE_ONLY: Slot = 400;
let vote_only_bank = if root_distance > MAX_ROOT_DISTANCE_FOR_VOTE_ONLY { let vote_only_bank = if root_distance > MAX_ROOT_DISTANCE_FOR_VOTE_ONLY {
datapoint_info!("vote-only-bank", ("slot", poh_slot, i64)); datapoint_info!("vote-only-bank", ("slot", poh_slot, i64));
true true