Type Alias hotshot_task_impls::vote_collection::TimeoutVoteState
source · type TimeoutVoteState<TYPES, V> = VoteCollectionTaskState<TYPES, TimeoutVote<TYPES>, TimeoutCertificate<TYPES>, V>;
Expand description
Alias for Timeout vote accumulator
Aliased Type§
struct TimeoutVoteState<TYPES, V> {
pub public_key: <TYPES as NodeType>::SignatureKey,
pub membership: Arc<<TYPES as NodeType>::Membership>,
pub accumulator: Option<VoteAccumulator<TYPES, SimpleVote<TYPES, TimeoutData<TYPES>>, SimpleCertificate<TYPES, TimeoutData<TYPES>, SuccessThreshold>, V>>,
pub view: <TYPES as NodeType>::Time,
pub id: u64,
}
Fields§
§public_key: <TYPES as NodeType>::SignatureKey
Public key for this node.
membership: Arc<<TYPES as NodeType>::Membership>
Membership for voting
accumulator: Option<VoteAccumulator<TYPES, SimpleVote<TYPES, TimeoutData<TYPES>>, SimpleCertificate<TYPES, TimeoutData<TYPES>, SuccessThreshold>, V>>
accumulator handles aggregating the votes
view: <TYPES as NodeType>::Time
The view which we are collecting votes for
id: u64
Node id