merkle is a lightweight Rust implementation of a Merkle tree.
std::hash::Hasher
compatibility#[derive(Hashable)]
support for simple structDocumentation is available.
The most relevant examples are located in the following files:
test_common.rs
: custom hash example xor128, misc shared utilstest_xor128.rs
: most comprehensive tests for library featuresproof.rs
: contains impl and tests for proofs across pow2 arity trees```
cargo test --release --all
cargo test --release --all -- --ignored ```
Please report bugs either as pull requests or as issues in the issue tracker. merkle has a full disclosure vulnerability policy. Please do NOT attempt to report any security vulnerability in this code privately to anybody.
See LICENSE.