oa::cryptography::MerkleTree

Fully materialized CPU Merkle tree, with leaves at level zero.

StRust public API

Declaration

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

Public Methods

pub fn levels(&self) -> &[Vec<Hash>]
pub const fn root(&self) -> Hash

Public Method Documentation

pub fn levels( &self ) -> &[Vec<Hash>]
No public source comment is attached to this declaration.
pub const fn root( &self ) -> Hash
No public source comment is attached to this declaration.