Ingest votes from gossip into fork choice (#16560)
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
use crate::{
|
||||
consensus::{ComputedBankState, SwitchForkDecision, Tower},
|
||||
consensus::{SwitchForkDecision, Tower},
|
||||
latest_validator_votes_for_frozen_banks::LatestValidatorVotesForFrozenBanks,
|
||||
progress_map::ProgressMap,
|
||||
replay_stage::HeaviestForkFailures,
|
||||
};
|
||||
@@ -21,8 +22,7 @@ pub(crate) trait ForkChoice {
|
||||
&mut self,
|
||||
bank: &Bank,
|
||||
tower: &Tower,
|
||||
progress: &mut ProgressMap,
|
||||
computed_bank_state: &ComputedBankState,
|
||||
latest_validator_votes_for_frozen_banks: &mut LatestValidatorVotesForFrozenBanks,
|
||||
);
|
||||
|
||||
// Returns:
|
||||
|
Reference in New Issue
Block a user