Go to file
Kris Nuttycombe 8f6056c73e
Merge pull request #51 from nuttycom/master
Release bridgetree v0.2.0.
2022-12-20 17:30:23 -07:00
.github/workflows Remove codecov task (never worked) 2022-08-04 13:00:58 -06:00
proptest-regressions Add an as_of_root argument to Tree::authentication_path 2022-04-20 14:13:12 -06:00
src typo 2022-08-08 17:36:24 -06:00
.gitignore Initial commit. 2015-12-19 18:37:23 -07:00
CHANGELOG-bridgetree.md Clarify the witnees->mark renaming in the `Tree` interface. 2022-12-20 17:05:01 -07:00
CHANGELOG.md Update changelogs for bridgetree v0.2.0. 2022-12-20 16:53:14 -07:00
COPYING.md Ensure that GitHub's "View license" link points to complete license information. 2022-01-04 17:37:34 +00:00
Cargo.toml Release bridgetree v0.2.0. 2022-12-19 17:03:16 -07:00
LICENSE-APACHE Added stuff for publishing to crates.io 2021-06-24 14:14:30 -06:00
LICENSE-MIT Update copyright year, and change the copyright holder to The Electric Coin Company. 2022-01-04 19:40:02 +00:00
README.md Update README 2022-08-04 13:00:58 -06: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.