Function frame_support::traits::base2::verify_proof

source ยท
pub fn verify_proof<Hashing, Key, Value>(
    root: &<Hashing as Hasher>::Out,
    proof: &[u8],
    key: &Key,
    value: &Value,
) -> Result<(), DispatchError>
where Hashing: Hasher, <Hashing as Hasher>::Out: Decode, Key: Encode + Decode, Value: Encode + Decode,
Expand description

Verify the existence of key and value in a given trie root and proof.