bloock_smt/
lib.rs

1//! # Sparse Merkle Tree
2//!
3//! This crate contains an implementation of a **Sparse Merkle Tree** as a full binary tree:
4//! a binary tree which every node other than the leaves has two children. It depends
5//! on three traits: **merge**, required to create new nodes for the tree; **types**, needed for
6//! identifying each node; and **storage**, which provides a database interface to store the state
7//! of the tree. By default, **Sparse Merkle Tree** will use *blake2b* from *'enchainte-merge'* crate,
8//! *h256* from *'enchainte-types'* and *kv_rocks* from *'enchainte-storage'* objects, which implement
9//! the mentioned traits.
10//!
11//!
12pub mod error;
13
14pub mod node;
15
16pub mod tree;
17
18pub mod proof;