pub type ViewSyncFinalizeVote<TYPES> = SimpleVote<TYPES, ViewSyncFinalizeData<TYPES>>;Expand description
View Sync Finalize Vote type alias
Aliased Type§
pub 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>::ViewThe 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