koinos/koinos-block-store

Golang JSON RPC2 Client and Server

youkaicountry opened this issue · 3 comments

Use the JSON RPC 2.0 library provided by Google.

Story #1

For now, this is newline-delimited JSON on stdin / stdout. We can add something else later if we want (e.g. HTTP JSON-RPC or binary communication). But that should be a separate issue.

We definitely want http requests as part of this story, and not push it back. This should be able to talk to koinosd when the story is finished, and if that is using stdio it will be that much more work to replace everything in the near future.

I reviewed this commit of koinos-jsonrpc2-golang repo. It LGTM, so I'm closing this issue.