Crate pmtree

Source
Expand description

§pmtree

Persistent Merkle Tree in Rust

§How it stored

{ (usize::MAX - 1) : depth } { (usize::MAX) : next_index} { Position (tuple - (depth, index), converted to DBKey) : Value}

Re-exports§

pub use tree::MerkleTree;
pub use database::*;
pub use hasher::*;

Modules§

database
hasher
tree

Enums§

DatabaseErrorKind
Denotes pmtree database errors
PmtreeErrorKind
Denotes pmtree errors
TreeErrorKind
Denotes pmtree Merkle tree errors

Type Aliases§

DBKey
Denotes keys in a database
PmtreeResult
Custom Result type with custom Error type
Value
Denotes values in a database