-
Notifications
You must be signed in to change notification settings - Fork 219
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add insert function to SMT (#5776)
Description --- Adds a new insert function to only add a leaf if it already exists. Motivation and Context --- If this is used for an unspent UTXO set we want it to disallow duplicate UTXOs How Has This Been Tested? --- unit tests --------- Co-authored-by: Aaron Feickert <[email protected]> Co-authored-by: Cayle Sharrock <[email protected]>
- Loading branch information
1 parent
eb74081
commit 5901b4a
Showing
2 changed files
with
61 additions
and
0 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