Skip to main content

Module verifier

Module verifier 

Source

Structs§

ExternalizedSlotProof
Signer-keyed externalized-slot witness plus every companion quorum set referenced by those envelopes.

Enums§

ExternalizedSlotProofError
Error returned while building an externalized-slot proof snapshot.
MalformedEnvelopeReason
Specific reason an SCP proof envelope is malformed for externalization verification.
VerifyError
Verification failure for an SCP externalization proof.

Constants§

MAX_COMPANION_QSET_BYTES
Maximum XDR bytes accepted for one companion quorum set.
MAX_PROOF_COMPANION_QSETS
Maximum companion quorum sets accepted in one externalized-slot proof.
MAX_PROOF_ENVELOPES
Maximum envelopes accepted in one externalized-slot proof.
MAX_TOTAL_COMPANION_QSET_BYTES
Maximum aggregate companion quorum set XDR bytes accepted in one proof.

Functions§

verify_externalized_proof
Verifies that proof proves SCP externalization of value at slot_index under trust_qset.

Type Aliases§

SCPQuorumSetBytes
XDR-encoded quorum set bytes keyed by their SCP hash.