Module monotree

Source
Expand description

Native (non-wasm, non-ff) Sparse Merkle Tree

Re-exports§

pub use tree::Monotree;

Modules§

bits
node
tree
utils

Constants§

HASH_LEN
Size of fixed length byte-array from a Hasher. Equivalent to key length of the tree.
ROOT_KEY
The key to be used to restore the latest root

Statics§

EMPTY_HASH

Type Aliases§

BitsLen
A type representing length of Bits
Hash
Type indicating fixed length byte-array.
Proof
Type representing a Merkle proof