Add EpochSlots frozen state transition (#19112)

This commit is contained in:
carllin
2021-08-13 14:21:52 -07:00
committed by GitHub
parent 176036aa58
commit 22674000bd
5 changed files with 902 additions and 118 deletions

View File

@ -1,6 +1,8 @@
use crate::{
cluster_info_vote_listener::VoteTracker,
cluster_slot_state_verifier::{DuplicateSlotsTracker, GossipDuplicateConfirmedSlots},
cluster_slot_state_verifier::{
DuplicateSlotsTracker, EpochSlotsFrozenSlots, GossipDuplicateConfirmedSlots,
},
cluster_slots::ClusterSlots,
consensus::Tower,
fork_choice::SelectVoteAndResetForkResult,
@ -212,6 +214,7 @@ impl VoteSimulator {
&mut UnfrozenGossipVerifiedVoteHashes::default(),
&mut true,
&mut Vec::new(),
&mut EpochSlotsFrozenSlots::default(),
)
}