This repository has been archived by the owner on Dec 5, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rewrite state handlng into string-string KV store
This is the first phase of #144, to narrow the API we need from a backing store. All state mutations go through the keepers, and the keepers deal exclusively with an object that uses string keys and string values. We still JSON-serialize this object on demand (at the end of the batch/block). The next phase will replace the buildVatController/buildKernel APIs to accept a Storage object, with get/set/getRange/deleteRange methods, and have the JSON-serialized backing store object live outside the kernel (in the host). A subsequent phase will introduce commitCrank/commitBlock methods on that Storage object, then a final phase will replace the JSON backing store with a proper database.
- Loading branch information
Showing
6 changed files
with
658 additions
and
211 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
Oops, something went wrong.