forked from hyperledger/besu-verkle-trie
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
REFACTOR: Addition of StemNodes to capture SuffixExtensions (#8)
Currently, there was branch or leaf nodes (and null). The logic of suffix and extensions was all included in hash visitor. This includes commiting to 1, stem, left values commitment and right values commitment. However, the subcommitments will be useful in proofs. Another reason to refactor is that path-extensions are only allowed at StemNodes, like in the current specifications. Before, path-extensions could be done anywhere. Another feature is support for StoredVerkleTrie. StoredNodes are now behaving correctly and can be retrieved recursively. Finally, minor feature is that put returns the old value, which is helpful for trie-logs Signed-off-by: Thomas Zamojski <[email protected]>
- Loading branch information
1 parent
d4ea40c
commit b2ce2f2
Showing
21 changed files
with
1,098 additions
and
647 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.