-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
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
Add SMT store type #8507
Merged
robert-zaremba
merged 15 commits into
cosmos:store/ll-smt
from
celestiaorg:tzdybal/upsteam/ll-smt
May 14, 2021
Merged
Add SMT store type #8507
robert-zaremba
merged 15 commits into
cosmos:store/ll-smt
from
celestiaorg:tzdybal/upsteam/ll-smt
May 14, 2021
Commits on Feb 3, 2021
-
SMT (Sparse Merkle Tree) is intended to replace IAVL. New type implements same interfaces as iavl.Store.
Configuration menu - View commit details
-
Copy full SHA for 6e4934c - Browse repository at this point
Copy the full SHA 6e4934cView commit details -
Sparse Merkle Tree does not support iteration over keys in order. To provide drop-in replacement for IAVL, Iterator and ReverseIterator has to be implemented. SMT Store implementation use the underlying KV store to: - maintain a list of keys (under a prefix) - iterate over a keys Values are stored only in SMT.
Configuration menu - View commit details
-
Copy full SHA for fa8bc8e - Browse repository at this point
Copy the full SHA fa8bc8eView commit details -
Configuration menu - View commit details
-
Copy full SHA for e208a1e - Browse repository at this point
Copy the full SHA e208a1eView commit details -
Configuration menu - View commit details
-
Copy full SHA for cd06819 - Browse repository at this point
Copy the full SHA cd06819View commit details -
Configuration menu - View commit details
-
Copy full SHA for 65a40a4 - Browse repository at this point
Copy the full SHA 65a40a4View commit details -
Configuration menu - View commit details
-
Copy full SHA for d22f575 - Browse repository at this point
Copy the full SHA d22f575View commit details -
Configuration menu - View commit details
-
Copy full SHA for 95b1073 - Browse repository at this point
Copy the full SHA 95b1073View commit details -
Configuration menu - View commit details
-
Copy full SHA for b2086e7 - Browse repository at this point
Copy the full SHA b2086e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 04bb530 - Browse repository at this point
Copy the full SHA 04bb530View commit details -
Configuration menu - View commit details
-
Copy full SHA for c1e928b - Browse repository at this point
Copy the full SHA c1e928bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6fd860d - Browse repository at this point
Copy the full SHA 6fd860dView commit details
Commits on Apr 23, 2021
-
Configuration menu - View commit details
-
Copy full SHA for c192976 - Browse repository at this point
Copy the full SHA c192976View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a43af8 - Browse repository at this point
Copy the full SHA 6a43af8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 549c414 - Browse repository at this point
Copy the full SHA 549c414View commit details -
Store data in ADR-040-compatible way
SMT stores: * key -> hash(key, value) KV store stores: * key->value in "bucket 1", * hash(key, value) -> key in "bucket 2".
Configuration menu - View commit details
-
Copy full SHA for e965573 - Browse repository at this point
Copy the full SHA e965573View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.