Type Alias hotshot_types::simple_vote::UpgradeVote
source · pub type UpgradeVote<TYPES> = SimpleVote<TYPES, UpgradeProposalData<TYPES>>;
Expand description
Upgrade proposal vote
Aliased Type§
struct UpgradeVote<TYPES> {
pub signature: (<TYPES as NodeType>::SignatureKey, <<TYPES as NodeType>::SignatureKey as SignatureKey>::PureAssembledSignatureType),
pub data: UpgradeProposalData<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: UpgradeProposalData<TYPES>
The leaf commitment being voted on.
view_number: <TYPES as NodeType>::View
The view this vote was cast for