pirate-librustzcash/zcash_history
Sean Bowe 4f0f10a53c Add 'zcash_history/' from commit 'e2c131fdc308265adcab774e54d4d5804c23b368'
git-subtree-dir: zcash_history
git-subtree-mainline: be0ee9eb82
git-subtree-split: e2c131fdc3
2020-03-03 17:51:19 -07:00
..
examples Add 'zcash_history/' from commit 'e2c131fdc308265adcab774e54d4d5804c23b368' 2020-03-03 17:51:19 -07:00
src Add 'zcash_history/' from commit 'e2c131fdc308265adcab774e54d4d5804c23b368' 2020-03-03 17:51:19 -07:00
.gitignore Add 'zcash_history/' from commit 'e2c131fdc308265adcab774e54d4d5804c23b368' 2020-03-03 17:51:19 -07:00
.travis.yml Add 'zcash_history/' from commit 'e2c131fdc308265adcab774e54d4d5804c23b368' 2020-03-03 17:51:19 -07:00
Cargo.toml Add 'zcash_history/' from commit 'e2c131fdc308265adcab774e54d4d5804c23b368' 2020-03-03 17:51:19 -07:00
LICENSE-APACHE Add 'zcash_history/' from commit 'e2c131fdc308265adcab774e54d4d5804c23b368' 2020-03-03 17:51:19 -07:00
LICENSE-MIT Add 'zcash_history/' from commit 'e2c131fdc308265adcab774e54d4d5804c23b368' 2020-03-03 17:51:19 -07:00
README.md Add 'zcash_history/' from commit 'e2c131fdc308265adcab774e54d4d5804c23b368' 2020-03-03 17:51:19 -07:00

zcash_mmr

Special implementation of Merkle mountain ranges (MMR) for Zcash!

Build Status

The main design goals of this MMR implementation are

  • 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.

License

zcash_mmr is distributed under the terms of both the MIT 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 for inclusion in zcash_mmr by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.