Skip to main content

Certificate1

Type Alias Certificate1 

Source
pub type Certificate1<T> = SimpleCertificate<T, QuorumData2<T>, SuccessThreshold>;

Aliased Type§

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

Fields§

§data: QuorumData2<T>

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