Module hotshot_types::simple_certificate
source · Expand description
Implementations of the simple certificate type. Used for Quorum, DA, and Timeout Certificates
Structs§
- Defines a threshold which is f + 1 (i.e at least one of the stake is honest)
- A certificate which can be created by aggregating many simple votes on the commitment.
- Defines a threshold which is 2f + 1 (Amount needed for Quorum)
- Defines a threshold which is 0.9n + 1 (i.e. over 90% of the nodes with stake)
Traits§
- Trait which allows use to inject different threshold calculations into a Certificate type
Type Aliases§
- Type alias for a
DaCertificate, which is aSimpleCertificateoverDaData - Type alias for a
DaCertificate2, which is aSimpleCertificateoverDaData2 - Type alias for a
QuorumCertificate2, which is aSimpleCertificateoverQuorumData2 - Type alias for a
QuorumCertificate, which is aSimpleCertificateoverQuorumData - Type alias for a
QuorumCertificate2, which is aSimpleCertificateoverQuorumData2 - Type alias for a Timeout certificate over a view number
- Type alias for a
TimeoutCertificate2, which is aSimpleCertificateoverTimeoutData2 - Type alias for a
UpgradeCertificate, which is aSimpleCertificateofUpgradeProposalData - Type alias for a
ViewSyncCommitcertificate over a view number - Type alias for a
ViewSyncCommitCertificate2, which is aSimpleCertificateoverViewSyncCommitData2 - Type alias for a
ViewSyncFinalizecertificate over a view number - Type alias for a
ViewSyncFinalizeCertificate2, which is aSimpleCertificateoverViewSyncFinalizeData2 - Type alias for a
ViewSyncPreCommitcertificate over a view number - Type alias for a
ViewSyncPreCommitCertificate2, which is aSimpleCertificateoverViewSyncPreCommitData2