pub type TimeoutVote2<TYPES> = SimpleVote<TYPES, TimeoutData2>;Expand description
Timeout Vote 2 type alias
Aliased Type§
pub struct TimeoutVote2<TYPES> {
pub signature: (<TYPES as NodeType>::SignatureKey, <<TYPES as NodeType>::SignatureKey as SignatureKey>::PureAssembledSignatureType),
pub data: TimeoutData2,
pub view_number: ViewNumber,
}Fields§
§signature: (<TYPES as NodeType>::SignatureKey, <<TYPES as NodeType>::SignatureKey as SignatureKey>::PureAssembledSignatureType)The signature share associated with this vote
data: TimeoutData2The leaf commitment being voted on.
view_number: ViewNumberThe view this vote was cast for
Implementations§
Source§impl<TYPES: NodeType> TimeoutVote2<TYPES>
impl<TYPES: NodeType> TimeoutVote2<TYPES>
Sourcepub fn to_vote(self) -> TimeoutVote<TYPES>
pub fn to_vote(self) -> TimeoutVote<TYPES>
Convert a QuorumVote2 to a QuorumVote