Trait MerkleProofSpec

Source
pub trait MerkleProofSpec {
    type Witness: Witness + Send + Sync;
    type Hasher: Digest<OutputSize = U32>;
}
Expand description

A trait specifying the hash function and format of the witness used in merkle proofs for storage access

Required Associated Types§

Source

type Witness: Witness + Send + Sync

The structure that accumulates the witness data

Source

type Hasher: Digest<OutputSize = U32>

The hash function used to compute the merkle root

Implementors§