We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MerkleStore::{with_tiered_smt, add_tiered_smt}
Following the same pattern to add leaves of other algorithms into the MerkleStore, we should introduce the following methods:
MerkleStore
MerkeStore::with_tiered_smt<R, I>( mut self, entries: R ) -> Result<Self, MerkleError> where R: IntoIterator<IntoIter = I>, I: Iterator<Item = (Word, Word)>
MerkeStore::add_tiered_smt<R, I>( &mut self, entries: R ) -> Result<Word, MerkleError> where R: IntoIterator<IntoIter = I>, I: Iterator<Item = (Word, Word)>
with_tiered_smt will be a builder pattern, and add_tiered_smt will return the new root.
with_tiered_smt
add_tiered_smt
The inclusion should follow the implementation described in #22
Originally posted by @bobbinth in 0xPolygonMiden/miden-vm#808 (comment)
The text was updated successfully, but these errors were encountered:
Closed by #153.
Sorry, something went wrong.
No branches or pull requests
Following the same pattern to add leaves of other algorithms into the
MerkleStore
, we should introduce the following methods:with_tiered_smt
will be a builder pattern, andadd_tiered_smt
will return the new root.The inclusion should follow the implementation described in #22
Originally posted by @bobbinth in 0xPolygonMiden/miden-vm#808 (comment)
The text was updated successfully, but these errors were encountered: