2019-09-24 08:36:28 +00:00
# zcash_mmr
2019-09-07 16:23:13 +00:00
Special implementation of merkle mountain ranges (MMR) for ZCash!
[![Build Status ](https://travis-ci.org/NikVolf/zcash-mmr.svg?branch=master )](https://travis-ci.org/NikVolf/zcash-mmr)
2019-09-09 11:06:05 +00:00
The main design goals of this mmr implementation are
2019-09-09 08:52:57 +00:00
- Allow zero-cache and avoid db callbacks. As it is implemented, calling side must just smartly pre-load MMR nodes from the database (about log2(tree length) for append, twice as much for deletion).
- Reuse as much logic between rust and c++ clients and place it here and librustzcash.
- Close to zero memory consumption.
2019-09-07 16:23:13 +00:00
# License
2019-09-24 08:36:28 +00:00
`zcash_mmr` is primarily distributed under the terms of both the MIT
2019-09-07 16:23:13 +00:00
license and the Apache License (Version 2.0), at your choice.
See LICENSE-APACHE, and LICENSE-MIT for details.
### Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted
2019-09-24 08:36:28 +00:00
for inclusion in `zcash_mmr` by you, as defined in the Apache-2.0 license, shall be
2019-09-07 16:23:13 +00:00
dual licensed as above, without any additional terms or conditions.