chore: add TieredSmt to readme
This commit is contained in:
parent
daa27f49f2
commit
2ed880d976
2 changed files with 3 additions and 4 deletions
|
@ -1,4 +1,5 @@
|
||||||
## 0.5.0 (2023-05-26)
|
## 0.5.0 (2023-05-26)
|
||||||
|
|
||||||
* Implemented `TieredSmt` (#152, #153).
|
* Implemented `TieredSmt` (#152, #153).
|
||||||
* Implemented ability to extract a subset of a `MerkleStore` (#151).
|
* Implemented ability to extract a subset of a `MerkleStore` (#151).
|
||||||
* Cleaned up `SimpleSmt` interface (#149).
|
* Cleaned up `SimpleSmt` interface (#149).
|
||||||
|
|
|
@ -13,16 +13,14 @@ For performance benchmarks of these hash functions and their comparison to other
|
||||||
[Merkle module](./src/merkle/) provides a set of data structures related to Merkle trees. All these data structures are implemented using the RPO hash function described above. The data structures are:
|
[Merkle module](./src/merkle/) provides a set of data structures related to Merkle trees. All these data structures are implemented using the RPO hash function described above. The data structures are:
|
||||||
|
|
||||||
* `MerkleTree`: a regular fully-balanced binary Merkle tree. The depth of this tree can be at most 64.
|
* `MerkleTree`: a regular fully-balanced binary Merkle tree. The depth of this tree can be at most 64.
|
||||||
* `SimpleSmt`: a Sparse Merkle Tree, mapping 64-bit keys to 4-element leaf values.
|
|
||||||
* `MerklePathSet`: a collection of Merkle authentication paths all resolving to the same root. The length of the paths can be at most 64.
|
* `MerklePathSet`: a collection of Merkle authentication paths all resolving to the same root. The length of the paths can be at most 64.
|
||||||
* `MerkleStore`: a collection of Merkle trees of different heights designed to efficiently store trees with common subtrees.
|
* `MerkleStore`: a collection of Merkle trees of different heights designed to efficiently store trees with common subtrees.
|
||||||
* `Mmr`: a Merkle mountain range structure designed to function as an append-only log.
|
* `Mmr`: a Merkle mountain range structure designed to function as an append-only log.
|
||||||
|
* `SimpleSmt`: a Sparse Merkle Tree (with no compaction), mapping 64-bit keys to 4-element values.
|
||||||
|
* `TieredSmt`: a Sparse Merkle tree (with compaction), mapping 4-element keys to 4-element values.
|
||||||
|
|
||||||
The module also contains additional supporting components such as `NodeIndex`, `MerklePath`, and `MerkleError` to assist with tree indexation, opening proofs, and reporting inconsistent arguments/state.
|
The module also contains additional supporting components such as `NodeIndex`, `MerklePath`, and `MerkleError` to assist with tree indexation, opening proofs, and reporting inconsistent arguments/state.
|
||||||
|
|
||||||
## Extra
|
|
||||||
[Root module](./src/lib.rs) provides a set of constants, types, aliases, and utils required to use the primitives of this library.
|
|
||||||
|
|
||||||
## Crate features
|
## Crate features
|
||||||
This crate can be compiled with the following features:
|
This crate can be compiled with the following features:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue