Skip to content
This repository has been archived by the owner on Jun 2, 2021. It is now read-only.

Accounts service backed by kv-storage #55

Open
matdehaast opened this issue Sep 6, 2019 · 0 comments
Open

Accounts service backed by kv-storage #55

matdehaast opened this issue Sep 6, 2019 · 0 comments

Comments

@matdehaast
Copy link

matdehaast commented Sep 6, 2019

Implement a peers service that is backed by kv-storage.

Service will need to handle:

  • Serialisation account into value form for datastore
  • Deserialisation into object from for service usage
  • Implementation for rest of logic of peers service interface

May be worth having the balances of an account be under different keys so they can be updated without having to serialise/deserialise the whole accounts object on every balance update.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant