Skip to content

Conversation

@devhawk
Copy link
Contributor

@devhawk devhawk commented Oct 11, 2021

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.

@devhawk devhawk merged commit d7f7994 into master Oct 11, 2021
@devhawk devhawk deleted the devhawk/state-store branch October 11, 2021 20:03
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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants