spl_concurrent_merkle_tree/lib.rs
1#![allow(clippy::arithmetic_side_effects)]
2//! # Concurrent Merkle Tree
3//!
4//! This crate is a Solana-optimized implementation of the
5//! concurrent merkle tree data structure introduced in [this
6//! whitepaper](https://drive.google.com/file/d/1BOpa5OFmara50fTvL0VIVYjtg-qzHCVc/view)
7//!
8//! The core implementation of CMT can be found in [concurrent_merkle_tree]
9
10/// Private macros to enable logging in the Solana runtime
11#[macro_use]
12mod log;
13/// Changelog implementation to keep track of information necessary to fast
14/// forward proofs
15pub mod changelog;
16/// Core implementation of the concurrent merkle tree structure
17pub mod concurrent_merkle_tree;
18/// Descriptive errors
19pub mod error;
20/// Hashing utils to support merkle tree operations
21pub mod hash;
22/// Node implementation and utils
23pub mod node;
24/// Path implementation
25pub mod path;