Setup ReplayStage confirmation scaffolding for duplicate slots (#9698)

(cherry picked from commit 52703badfa)
This commit is contained in:
carllin
2021-03-24 23:41:52 -07:00
committed by Trent Nelson
parent 50beef0b15
commit cc5565b17e
16 changed files with 2415 additions and 227 deletions

View File

@@ -670,6 +670,7 @@ impl Validator {
let (retransmit_slots_sender, retransmit_slots_receiver) = unbounded();
let (verified_vote_sender, verified_vote_receiver) = unbounded();
let (cluster_confirmed_slot_sender, cluster_confirmed_slot_receiver) = unbounded();
let tvu = Tvu::new(
vote_account,
authorized_voter_keypairs,
@@ -720,6 +721,7 @@ impl Validator {
replay_vote_sender.clone(),
completed_data_sets_sender,
bank_notification_sender.clone(),
cluster_confirmed_slot_receiver,
TvuConfig {
max_ledger_shreds: config.max_ledger_shreds,
halt_on_trusted_validators_accounts_hash_mismatch: config
@@ -759,6 +761,7 @@ impl Validator {
replay_vote_sender,
bank_notification_sender,
config.tpu_coalesce_ms,
cluster_confirmed_slot_sender,
);
datapoint_info!("validator-new", ("id", id.to_string(), String));