Augusto Hack
|
dbab0e9aa9
|
fix: clippy warnings (#280)
|
1 year ago |
Andrey Khmuro
|
cd4525c7ad
|
refactor: update repo to be compatible with Winterfell 0.8 (#275)
|
1 year ago |
Philippe Laferrière
|
119c7e2b6d
|
`SmtProof`: add accessors (#276)
* add accessors
* fmt
* comments
|
1 year ago |
Philippe Laferrière
|
45e7e78118
|
Clone (#274)
|
1 year ago |
Philippe Laferrière
|
a9475b2a2d
|
reexport (#273)
|
1 year ago |
Philippe Laferrière
|
e55b3ed2ce
|
Introduce `SmtProof` (#270)
* add conversion for `SmtLeaf`
* introduce `SmtProof` scaffolding
* implement `verify_membership()`
* SmtLeaf: knows its index
* `SmtLeaf::index`
* `SmtLeaf::get_value()` returns an Option
* fix `verify_membership()`
* impl `SmtProof::get`
* impl `into_parts()`
* `SmtProof::compute_root`
* use `SmtProof` in `Smt::open`
* `SmtLeaf` constructors
* Vec
* impl `Error` for `SmtLeafError`
* fix std Error
* move Word/Digest conversions to LeafIndex
* `SmtProof::new()` returns an error
* `SparseMerkleTree::path_and_leaf_to_opening`
* `SmtLeaf`: serializable/deserializable
* `SmtProof`: serializable/deserializable
* add tests for SmtLeaf serialization
* move `SmtLeaf` to submodule
* use constructors internally
* fix docs
* Add `Vec`
* add `Vec` to tests
* no_std use statements
* fmt
* `Errors`: make heading
* use `SMT_DEPTH`
* SmtLeaf single case: check leaf index
* Multiple case: check consistency with leaf index
* use `pub(super)` instead of `pub(crate)`
* use `pub(super)`
* `SmtLeaf`: add `num_entries()` accessor
* Fix `SmtLeaf` serialization
* improve leaf serialization tests
|
1 year ago |
Philippe Laferrière
|
3d71a9b59b
|
`Smt`: remove inner nodes when removing value (#269)
|
1 year ago |
Philippe Laferrière
|
da12fd258a
|
Add missing methods to `Smt` (#268)
|
1 year ago |
Philippe Laferrière
|
1cdd3dbbfa
|
Add methods to `Smt` necessary for VM tests (#264)
* Smt::inner_nodes
* Add conversion Smt -> MerkleStore
* add docstring to `Smt`
* add to docstring
* fmt
* add `leaves()` method to `Smt`
* add `kv_pairs` functions
* rewrite `into_elements()` in terms of `into_kv_pairs()`
* change docstring
|
1 year ago |
Philippe Laferrière
|
5596db7868
|
Implement `Smt` struct (replacement to `TieredSmt`) (#254)
|
1 year ago |
Bobbin Threadbare
|
a933ff2fa0
|
refactor: remove obsolete traits
|
1 year ago |
Philippe Laferrière
|
8ea37904e3
|
Introduce `SparseMerkleTree` trait (#245)
|
1 year ago |