Type Alias hotshot_types::simple_vote::ViewSyncPreCommitVote

source ·
pub type ViewSyncPreCommitVote<TYPES> = SimpleVote<TYPES, ViewSyncPreCommitData<TYPES>>;
Expand description

View Sync Pre Commit Vote type alias

Aliased Type§

struct ViewSyncPreCommitVote<TYPES> {
    pub signature: (<TYPES as NodeType>::SignatureKey, <<TYPES as NodeType>::SignatureKey as SignatureKey>::PureAssembledSignatureType),
    pub data: ViewSyncPreCommitData<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: ViewSyncPreCommitData<TYPES>

The leaf commitment being voted on.

§view_number: <TYPES as NodeType>::View

The view this vote was cast for