type ViewSyncCommitVoteState<TYPES> = VoteCollectionTaskState<TYPES, ViewSyncCommitVote2<TYPES>, ViewSyncCommitCertificate2<TYPES>>;Expand description
Alias for View Sync Commit vote accumulator
Aliased Type§
struct ViewSyncCommitVoteState<TYPES> {
pub public_key: <TYPES as NodeType>::SignatureKey,
pub membership: EpochMembership<TYPES>,
pub accumulator: Option<VoteAccumulator<TYPES, SimpleVote<TYPES, ViewSyncCommitData2>, SimpleCertificate<TYPES, ViewSyncCommitData2, SuccessThreshold>>>,
pub view: ViewNumber,
pub id: u64,
pub transition_indicator: EpochTransitionIndicator,
}Fields§
§public_key: <TYPES as NodeType>::SignatureKeyPublic key for this node.
membership: EpochMembership<TYPES>Membership for voting
accumulator: Option<VoteAccumulator<TYPES, SimpleVote<TYPES, ViewSyncCommitData2>, SimpleCertificate<TYPES, ViewSyncCommitData2, SuccessThreshold>>>accumulator handles aggregating the votes
view: ViewNumberThe view which we are collecting votes for
id: u64Node id
transition_indicator: EpochTransitionIndicatorWhether we should check if we are the leader when handling a vote