verify_multi_proof

Function verify_multi_proof 

Source
pub fn verify_multi_proof<H: NodeHasher>(
    multi_proof: &MultiProof,
    root: Node,
) -> Result<VerifiedMultiProof, MultiProofVerificationError>
Expand description

Verify a multi-proof against an expected root. This ONLY checks the consistency of the trie.

You MUST use confirm_value or confirm_nonexistence to check the values in the verified multi-proof.