Implement Smt struct (replacement to TieredSmt) (#254)

This commit is contained in:
Philippe Laferrière
2024-01-19 16:07:35 -05:00
committed by Bobbin Threadbare
parent a933ff2fa0
commit 5596db7868
4 changed files with 668 additions and 1 deletions

View File

@@ -22,7 +22,7 @@ mod path;
pub use path::{MerklePath, RootPath, ValuePath};
mod smt;
pub use smt::{LeafIndex, SimpleSmt, SMT_MAX_DEPTH, SMT_MIN_DEPTH};
pub use smt::{LeafIndex, SimpleSmt, Smt, SmtLeaf, SMT_DEPTH, SMT_MAX_DEPTH, SMT_MIN_DEPTH};
mod tiered_smt;
pub use tiered_smt::{TieredSmt, TieredSmtProof, TieredSmtProofError};