miden-crypto/src/merkle
Augusto F. Hack 9e6c8ff700
bugfix: fix internal nodes of for empty leafs of a SMT
The path returned by `EmptySubtreeRoots` starts at the root, and goes to
the leaf. The MerkleStore constructor assumed the other direction, so
the parent/child hashes were reversed.

This fixes the bug and adds a test.
2023-03-24 23:22:31 +01:00
..
mmr feat: merkle mountain range 2023-03-02 13:07:55 +01:00
simple_smt feat: add merkle store 2023-03-15 17:34:42 +01:00
store bugfix: fix internal nodes of for empty leafs of a SMT 2023-03-24 23:22:31 +01:00
empty_roots.rs feat: add empty subtree constants to cover u8::MAX depth 2023-03-23 12:59:47 +01:00
index.rs fix: to paths reduction of MerklePathSet 2023-03-23 01:12:02 -07:00
merkle_tree.rs feat: added utility to format MerkleTree and MerklePath to hex 2023-03-22 21:53:05 +01:00
mod.rs feat: added utility to format MerkleTree and MerklePath to hex 2023-03-22 21:53:05 +01:00
path.rs feat: add merkle path containers and return them on tree update 2023-03-21 20:45:01 +01:00
path_set.rs fix: to paths reduction of MerklePathSet 2023-03-23 01:12:02 -07:00