oa::cryptography::MerkleProof

Sibling nodes and directions for one Merkle inclusion proof.

StRust public API

Declaration

pub struct MerkleProof { /* private fields */ }
Public Rust declaration.

Public Methods

pub fn siblings(&self) -> &[Hash]
pub fn sibling_is_left(&self) -> &[bool]

Associated Functions

pub fn from_parts(siblings: Vec<Hash>, is_left: Vec<bool>) -> Result<Self>

Public Method Documentation

pub fn siblings( &self ) -> &[Hash]
No public source comment is attached to this declaration.
pub fn sibling_is_left( &self ) -> &[bool]
No public source comment is attached to this declaration.
pub fn from_parts( siblings: Vec<Hash>, is_left: Vec<bool> ) -> Result<Self>
No public source comment is attached to this declaration.