Module akd::verify

source ·
Expand description

This module contains verification calls for different proofs contained in the AKD crate

Modules

Base functionality for verification operations (membership, non-membership, etc)
Verification of key history proofs
Verification of lookup proofs

Enums

Parameters for customizing how history proof verification proceeds
Proof verification error types

Functions

Verifies a key history proof, given the corresponding sequence of hashes. Returns a vector of whether the validity of a hash could be verified. When false, the value <=> hash validity at the position could not be verified because the value has been removed (“tombstoned”) from the storage layer.
Verifies a lookup with respect to the root_hash
Verify the membership proof
Verifies the non-membership proof with respect to the root hash