Browse Source

reexport (#273)

km/mkdocs-impl
Philippe Laferrière 1 year ago
committed by Bobbin Threadbare
parent
commit
a9475b2a2d
2 changed files with 5 additions and 2 deletions
  1. +4
    -1
      src/merkle/mod.rs
  2. +1
    -1
      src/merkle/smt/mod.rs

+ 4
- 1
src/merkle/mod.rs

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

+ 1
- 1
src/merkle/smt/mod.rs

@ -6,7 +6,7 @@ use crate::{
use super::{EmptySubtreeRoots, MerkleError, MerklePath, NodeIndex, Vec}; use super::{EmptySubtreeRoots, MerkleError, MerklePath, NodeIndex, Vec};
mod full; mod full;
pub use full::{Smt, SmtLeaf, SmtLeafError, SMT_DEPTH};
pub use full::{Smt, SmtLeaf, SmtLeafError, SmtProof, SmtProofError, SMT_DEPTH};
mod simple; mod simple;
pub use simple::SimpleSmt; pub use simple::SimpleSmt;

Loading…
Cancel
Save