Function verify_proof

Source
pub fn verify_proof(
    root: Option<&Hash>,
    leaf: &Hash,
    proof: Option<&Proof>,
) -> bool
Expand description

Verify a MerkleProof with the given root and leaf.