Type Alias hotshot_types::simple_vote::NextEpochQuorumVote2
source · pub type NextEpochQuorumVote2<TYPES> = SimpleVote<TYPES, NextEpochQuorumData2<TYPES>>;
Expand description
Quorum vote Alias. This type is useful to distinguish the next epoch nodes’ votes.
Aliased Type§
struct NextEpochQuorumVote2<TYPES> {
pub signature: (<TYPES as NodeType>::SignatureKey, <<TYPES as NodeType>::SignatureKey as SignatureKey>::PureAssembledSignatureType),
pub data: NextEpochQuorumData2<TYPES>,
pub view_number: <TYPES as NodeType>::View,
}
Fields§
§signature: (<TYPES as NodeType>::SignatureKey, <<TYPES as NodeType>::SignatureKey as SignatureKey>::PureAssembledSignatureType)
The signature share associated with this vote
data: NextEpochQuorumData2<TYPES>
The leaf commitment being voted on.
view_number: <TYPES as NodeType>::View
The view this vote was cast for
Trait Implementations§
source§impl<TYPES: NodeType> From<SimpleVote<TYPES, QuorumData2<TYPES>>> for NextEpochQuorumVote2<TYPES>
impl<TYPES: NodeType> From<SimpleVote<TYPES, QuorumData2<TYPES>>> for NextEpochQuorumVote2<TYPES>
source§fn from(qvote: QuorumVote2<TYPES>) -> Self
fn from(qvote: QuorumVote2<TYPES>) -> Self
Converts to this type from the input type.