Skip to main content

UpgradeVoteMessage

Type Alias UpgradeVoteMessage 

Source
pub type UpgradeVoteMessage<T> = UpgradeVote2<T>;
Expand description

An upgrade vote, broadcast all-to-all. Its signed data binds the voter’s epoch, which selects the stake table under which the vote is tallied.

Aliased Type§

pub struct UpgradeVoteMessage<T> {
    pub signature: (<T as NodeType>::SignatureKey, <<T as NodeType>::SignatureKey as SignatureKey>::PureAssembledSignatureType),
    pub data: UpgradeProposalData2,
    pub view_number: ViewNumber,
}

Fields§

§signature: (<T as NodeType>::SignatureKey, <<T as NodeType>::SignatureKey as SignatureKey>::PureAssembledSignatureType)

The signature share associated with this vote

§data: UpgradeProposalData2

The leaf commitment being voted on.

§view_number: ViewNumber

The view this vote was cast for