smtree 0.1.2

SMTree is a flexible sparse tree accumulator that can support various tree types via traits for custom node-merging (i.e., Merkle tree hashes) and tree-padding logic. The api supports single and batch inclusion proofs and random sampling.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright (c) Facebook, Inc. and its affiliates.
//
// This source code is licensed under the MIT license found in the
// LICENSE file in the root directory of this source tree.

//! A library supplying paddable sparse Merkle tree.

pub mod error;
pub mod index;
pub mod node_template;
pub mod pad_secret;
pub mod proof;
pub mod traits;
pub mod tree;
pub mod utils;

#[cfg(test)]
mod tests;