pub type QuorumCertificate<TYPES> = SimpleCertificate<TYPES, QuorumData<TYPES>, SuccessThreshold>;
Expand description
Type alias for a QuorumCertificate
, which is a SimpleCertificate
over QuorumData
Aliased Type§
struct QuorumCertificate<TYPES> {
pub data: QuorumData<TYPES>,
pub view_number: <TYPES as NodeType>::View,
pub signatures: Option<<<TYPES as NodeType>::SignatureKey as SignatureKey>::QcType>,
pub _pd: PhantomData<(TYPES, SuccessThreshold)>,
/* private fields */
}
Fields§
§data: QuorumData<TYPES>
The data this certificate is for. I.e the thing that was voted on to create this Certificate
view_number: <TYPES as NodeType>::View
Which view this QC relates to
signatures: Option<<<TYPES as NodeType>::SignatureKey as SignatureKey>::QcType>
assembled signature for certificate aggregation
_pd: PhantomData<(TYPES, SuccessThreshold)>
phantom data for THRESHOLD
and TYPES