Type Alias hotshot_types::simple_vote::ViewSyncFinalizeVote
source · pub type ViewSyncFinalizeVote<TYPES> = SimpleVote<TYPES, ViewSyncFinalizeData<TYPES>>;
Expand description
View Sync Finalize Vote type alias
Aliased Type§
struct ViewSyncFinalizeVote<TYPES> {
pub signature: (<TYPES as NodeType>::SignatureKey, <<TYPES as NodeType>::SignatureKey as SignatureKey>::PureAssembledSignatureType),
pub data: ViewSyncFinalizeData<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: ViewSyncFinalizeData<TYPES>
The leaf commitment being voted on.
view_number: <TYPES as NodeType>::View
The view this vote was cast for
Implementations§
source§impl<TYPES: NodeType> ViewSyncFinalizeVote<TYPES>
impl<TYPES: NodeType> ViewSyncFinalizeVote<TYPES>
sourcepub fn to_vote2(self) -> ViewSyncFinalizeVote2<TYPES>
pub fn to_vote2(self) -> ViewSyncFinalizeVote2<TYPES>
Convert a ViewSyncFinalizeVote
to a ViewSyncFinalizeVote2