Trait mina_merkle::MerkleProof
source · [−]pub trait MerkleProof {
type Hash: PartialEq;
type Error: Error;
fn root_hash(&self) -> Result<Self::Hash, Self::Error>;
fn verify(&self, root_hash: &Self::Hash) -> bool { ... }
}
Expand description
Merkle proof trait of a single leaf node, for details refer to https://www.webopedia.com/definitions/merkle-proof/