Expand description
Implementations of the simple certificate type. Used for Quorum, DA, and Timeout Certificates
Modules§
- optional_
timeout_ evidence - timeout3 🔒
- The timeout certificate whose signers each sign the lock they hold.
Structs§
- Certificate
Pair - A pair of QCs (or a single QC) attesting to a leaf.
- Epoch
Root Quorum Certificate V1 - Epoch
Root Quorum Certificate V2 - Latest
Timeout Signatures - The signers of a
TimeoutCertificate3that hold its lock. - Light
Client State Update Certificate V1 - Type for light client state update certificate
- Light
Client State Update Certificate V2 - Type for light client state update certificate
- OneHonest
Threshold - Defines a threshold which is f + 1 (i.e at least one of the stake is honest)
- Simple
Certificate - A certificate which can be created by aggregating many simple votes on the commitment.
- Success
Threshold - Defines a threshold which is 2f + 1 (Amount needed for Quorum)
- Timeout
Certificate3 - A timeout certificate over
TimeoutData3. - Timeout
Signatures - The signers of a
TimeoutCertificate3that hold the same lock, earlier than the certificate’s. - Upgrade
Threshold - Defines a threshold which is 0.9n + 1 (i.e. over 90% of the nodes with stake)
Enums§
- Timeout
Evidence - A timeout certificate, in one of the forms its signers may have used.
Traits§
- Threshold
- Trait which allows use to inject different threshold calculations into a Certificate type
Functions§
- check_
qc_ state_ cert_ correspondence - Check that a light client state update certificate corresponds to a given QC: the QC is for an epoch root block, the epochs match, and the view numbers match.
Type Aliases§
- Certificate1
- Type alias for the new protocol’s phase-1 certificate over
QuorumData2 - Certificate2
- Type alias for the new protocol’s phase-2 certificate over
Vote2Data - DaCertificate
- Type alias for a
DaCertificate, which is aSimpleCertificateoverDaData - DaCertificate2
- Type alias for a
DaCertificate2, which is aSimpleCertificateoverDaData2 - Next
Epoch Quorum Certificate2 - Type alias for a
QuorumCertificate2, which is aSimpleCertificateoverQuorumData2 - Quorum
Certificate - Type alias for a
QuorumCertificate, which is aSimpleCertificateoverQuorumData - Quorum
Certificate2 - Type alias for a
QuorumCertificate2, which is aSimpleCertificateoverQuorumData2 - Timeout
Certificate - Type alias for a Timeout certificate over a view number
- Timeout
Certificate2 - Type alias for a
TimeoutCertificate2, which is aSimpleCertificateoverTimeoutData2 - Upgrade
Certificate - Type alias for a
UpgradeCertificate, which is aSimpleCertificateofUpgradeProposalData - Upgrade
Certificate2 - Type alias for an upgrade certificate binding its epoch, a
SimpleCertificateofUpgradeProposalData2 - View
Sync Commit Certificate - Type alias for a
ViewSyncCommitcertificate over a view number - View
Sync Commit Certificate2 - Type alias for a
ViewSyncCommitCertificate2, which is aSimpleCertificateoverViewSyncCommitData2 - View
Sync Finalize Certificate - Type alias for a
ViewSyncFinalizecertificate over a view number - View
Sync Finalize Certificate2 - Type alias for a
ViewSyncFinalizeCertificate2, which is aSimpleCertificateoverViewSyncFinalizeData2 - View
Sync PreCommit Certificate - Type alias for a
ViewSyncPreCommitcertificate over a view number - View
Sync PreCommit Certificate2 - Type alias for a
ViewSyncPreCommitCertificate2, which is aSimpleCertificateoverViewSyncPreCommitData2