Trait scratchpad::ProofRead
source · pub trait ProofRead<V> {
// Required method
fn get_proof(&self, key: HashValue) -> Option<&SparseMerkleProof<V>>;
}
Expand description
A type that implements ProofRead
can provide proof for keys in persistent
storage.
Required Methods§
sourcefn get_proof(&self, key: HashValue) -> Option<&SparseMerkleProof<V>>
fn get_proof(&self, key: HashValue) -> Option<&SparseMerkleProof<V>>
Gets verified proof for this key in persistent storage.