pub type MerkleProof = MerkleProof<ELEMENT_SIZE>;
Expand description
Merkle proof alias
Aliased Type§
pub struct MerkleProof {
pub root: [u8; 32],
pub leaf: [u8; 32],
pub index: usize,
pub siblings: Vec<[u8; 32]>,
}
Fields§
§root: [u8; 32]
Tree root.
leaf: [u8; 32]
Leaf.
index: usize
Decimal representation of the reverse of the path.
siblings: Vec<[u8; 32]>
Siblings.