Skip to main content

verify_leaf

Function verify_leaf 

Source
pub fn verify_leaf(
    spec: &TreeSpec,
    root: StrongDigest,
    index: u64,
    bytes: &[u8],
    siblings: &[StrongDigest],
) -> Result<(), ProofError>
Expand description

Verify exact bytes against a supplied root. This does not authorize consumption.