Trait ProofExtractable

Source
pub trait ProofExtractable {
    type ProofNode;

    // Required method
    fn get_proof_node(&self) -> Self::ProofNode;
}
Expand description

Trait for extracting a node with necessary information in Merkle proofs from a tree node.

Required Associated Types§

Source

type ProofNode

The type of a node with necessary information in Merkle proofs.

Required Methods§

Source

fn get_proof_node(&self) -> Self::ProofNode

Extracting a proof node from a tree node.

Implementors§