mirror of
https://github.com/pezkuwichain/merkle-mountain-range.git
synced 2026-06-17 10:01:05 +00:00
Init merkle-mountain-range
The MMR code is copy from https://github.com/nervosnetwork/ckb/pull/1598
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
mod error;
|
||||
mod helper;
|
||||
mod merge;
|
||||
mod mmr;
|
||||
mod mmr_store;
|
||||
#[cfg(test)]
|
||||
mod tests;
|
||||
pub mod util;
|
||||
|
||||
pub use error::{Error, Result};
|
||||
pub use helper::{leaf_index_to_mmr_size, leaf_index_to_pos};
|
||||
pub use merge::Merge;
|
||||
pub use mmr::{MerkleProof, MMR};
|
||||
pub use mmr_store::MMRStore;
|
||||
Reference in New Issue
Block a user