Type Alias hotshot_types::simple_certificate::DaCertificate
source · pub type DaCertificate<TYPES> = SimpleCertificate<TYPES, DaData, SuccessThreshold>;
Expand description
Type alias for a DA certificate over DaData
Aliased Type§
struct DaCertificate<TYPES> {
pub data: DaData,
vote_commitment: Commitment<DaData>,
pub view_number: <TYPES as NodeType>::Time,
pub signatures: Option<<<TYPES as NodeType>::SignatureKey as SignatureKey>::QcType>,
pub _pd: PhantomData<(TYPES, SuccessThreshold)>,
}
Fields§
§data: DaData
The data this certificate is for. I.e the thing that was voted on to create this Certificate
vote_commitment: Commitment<DaData>
commitment of all the votes this cert should be signed over
view_number: <TYPES as NodeType>::Time
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