Building a Blockchain: Key Value Stores

Key value stores, and two use cases
Key value interface
An in-memory key value store
The key value stores

File-based Key Value Store

Not only I have an in-memory implementation, I also have a file-based implementation,

Implemeting a file-based key value, using ValueFile and KeyFile.

Remote Key Value Store

Exploring some use cases, related to synchronized a node with a network that is already running, I discovered the usefulness of having access to the key value stores of peer nodes. So, now I have a

The remote key value store can access the key value store of peer nodes
Using a completable future to query remote peer nodes



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store