incrementalmerkletree/bridgetree
Kris Nuttycombe dff6be7221 Update MSRV to 1.60
The transitive dependency we have on `unarray` is forcing this update.
Also, update CI actions to eliminate dependencies on the unmaintained
`actions-rs` Rust CI tools.
2023-02-16 10:51:41 -07:00
..
proptest-regressions Move the `bridgetree` crate to a workspace. 2022-12-21 11:59:43 -07:00
src Change `append` to take ownership of the value being appended. 2023-01-04 14:08:11 -07:00
CHANGELOG.md Change `append` to take ownership of the value being appended. 2023-01-04 14:08:11 -07:00
COPYING.md Move the `bridgetree` crate to a workspace. 2022-12-21 11:59:43 -07:00
Cargo.toml Update MSRV to 1.60 2023-02-16 10:51:41 -07:00
LICENSE-APACHE Move the `bridgetree` crate to a workspace. 2022-12-21 11:59:43 -07:00
LICENSE-MIT Move the `bridgetree` crate to a workspace. 2022-12-21 11:59:43 -07:00
README.md Move the `bridgetree` crate to a workspace. 2022-12-21 11:59:43 -07:00

README.md

bridgetree

This is a Rust crate that provides an implementation of an append-only Merkle tree structure. Individual leaves of the merkle tree may be marked such that witnesses will be maintained for the marked leaves as additional nodes are appended to the tree, but leaf and node data not specifically required to maintain these witnesses is not retained, for space efficiency. The data structure also supports checkpointing of the tree state such that the tree may be reset to a previously checkpointed state, up to a fixed number of checkpoints.

The crate also supports using "bridges" containing the minimal possible amount of data to advance witnesses for marked leaves data up to recent checkpoints or the the latest state of the tree without having to append each intermediate leaf individually, given a bridge between the desired states computed by an outside source. The state of the tree is internally represented as a set of such bridges, and the data structure supports fusing and splitting of bridges.

Documentation

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.