Realm

oa::crypto::merkle::DeviceMerkleTree

Device-resident immutable tree levels over supplied, already hashed leaves. Odd levels duplicate their last node. No host tree or digest copies are made.

StRust public API

Declaration

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

Public Methods

pub const fn algorithm(&self) -> MerkleAlgorithm
pub const fn leaf_count(&self) -> u32
pub fn root(&self) -> &Matrix
fn clone(&self) -> DeviceMerkleTree

Public Method Documentation

pub const fn algorithm( &self ) -> MerkleAlgorithm
No public source comment is attached to this declaration.
pub const fn leaf_count( &self ) -> u32
No public source comment is attached to this declaration.
pub fn root( &self ) -> &Matrix
No public source comment is attached to this declaration.
fn clone( &self ) -> DeviceMerkleTree
No public source comment is attached to this declaration.