-
Notifications
You must be signed in to change notification settings - Fork 6
StateServiceStore #45
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
Merged
Merged
Conversation
This file contains hidden or 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
JohndeVadoss
approved these changes
Oct 11, 2021
devhawk
pushed a commit
that referenced
this pull request
Oct 11, 2021
commit 2a1de16 Author: Harry <[email protected]> Date: Mon Oct 11 13:06:58 2021 -0700 delete test/state-store commit d7f7994 Author: Harry Pierson <[email protected]> Date: Mon Oct 11 13:03:41 2021 -0700 StateServiceStore (#45) * Add temporary SyncRpcClient * Add StateServiceStore * Add sync getVersion extension * assorted improvements * IDispose support * special case ledger contract * rework rocksDbStore ctor * DRY * add TraceApplicationEngine, TraceDebugStream & ITraceDebugSink * spelling + warning disable * update usings * WIP * redesign * Fix TryGet * WIP * RocksDbCacheClient * final cleanup for v3.0.3 * Revert Disposable handling of memoryTrackingStore * no public shared RocksDbStore ctor Co-authored-by: Harry <[email protected]> commit a934750 Author: Merl <[email protected]> Date: Mon Oct 11 20:24:52 2021 +0200 add static function to create a dummy block for testing (#41) Co-authored-by: Harry Pierson <[email protected]> commit a23b07b Merge: 1923e38 4870ea3 Author: Harry <[email protected]> Date: Wed Sep 22 15:18:51 2021 -0700 Merge branch 'release/v3.0' commit 1923e38 Merge: a67a989 7471b80 Author: Harry <[email protected]> Date: Wed Sep 22 13:17:58 2021 -0700 Merge branch 'release/v3.0' commit a67a989 Merge: b4ffd7d 25feb1e Author: Harry <[email protected]> Date: Fri Aug 6 10:19:46 2021 -0700 Merge branch 'release/v3.0' commit b4ffd7d Merge: 260ebb9 6a3b503 Author: Harry <[email protected]> Date: Mon Aug 2 10:15:14 2021 -0700 Merge branch 'release/v3.0' commit 260ebb9 Author: Harry <[email protected]> Date: Mon Aug 2 10:15:14 2021 -0700 Set version to '3.1-preview'
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This PR adds a new IReadOnlyStore implementation: StateServiceStore. It sits on top of the StateService plugin to provide Neo blockchain compatible read only storage at any blockchain height.
Since the data at a specified blockchain height never changes, all requests against the StateService are cached - in a local RocksDb store if cache folder is specified or in memory if no cache folder is specified.