[][src]Function smt_map::check_merkle_proof

pub fn check_merkle_proof(
    merkle_root: &Hash256,
    key: &Key,
    value: &Value,
    proof: &MerkleProof
) -> bool

Check the merkle proof of a key-value pair in a SMT-Map (specified by its merkle root). Returns whether the proof is valid.