rustreexo/
lib.rs

1//! # Utreexo
2//! [Utreexo](https://eprint.iacr.org/2019/611.pdf) is a novel accumulator that allows for succinct
3//! UTXO set representation, using a logarithmic amount of space. It uses a dynamic accumulator
4//! that allows for the addition and deletion of elements. When spending  a UTXO, the element
5//! is deleted from the accumulator. When receiving a UTXO, the element is added to the accumulator.
6//! During validation, nodes receive a proof which proves the inputs in a block or transaction exist
7//! in the UTXO set.
8//!
9//! This lib have all basic building blocks to use Utreexo in a project. It is possible to create a
10//! new accumulator, add and delete elements, verify proofs, and serialize and deserialize then.
11//! For more information, check the documentation of each module.
12#![cfg_attr(any(bench), feature(test))]
13pub mod accumulator;