pub fn verify_proof(
bundle: &ProofBundle,
seal_registry: impl Fn(&[u8]) -> bool,
signature_scheme: SignatureScheme,
) -> Result<()>Expand description
Verify a proof bundle according to the CSV verification pipeline.
The verification pipeline performs the following steps:
- Validate deterministic VM execution of the DAG
- Validate all authorizing signatures
- Validate seal reference correctness (no double-use)
- Validate inclusion proof against the anchor reference
- Validate finality semantics
ยงArguments
bundle- The proof bundle to verifyseal_registry- Set of already-used seals (for replay detection)signature_scheme- The signature scheme to use for verification