Skip to main content

CheckpointCertificate

Type Alias CheckpointCertificate 

Source
pub type CheckpointCertificate<T> = SimpleCertificate<T, CheckpointData, SuccessThreshold>;

Aliased Type§

pub struct CheckpointCertificate<T> {
    pub data: CheckpointData,
    pub view_number: ViewNumber,
    pub signatures: Option<<<T as NodeType>::SignatureKey as SignatureKey>::QcType>,
    pub _pd: PhantomData<(T, SuccessThreshold)>,
    /* private fields */
}

Fields§

§data: CheckpointData

The data this certificate is for. I.e the thing that was voted on to create this Certificate

§view_number: ViewNumber

Which view this QC relates to

§signatures: Option<<<T as NodeType>::SignatureKey as SignatureKey>::QcType>

assembled signature for certificate aggregation

§_pd: PhantomData<(T, SuccessThreshold)>

phantom data for THRESHOLD and TYPES