koinos / koinos-block-store

The block store microservice saves blocks to disk and provides an API to the Koinos cluster via RPC over AMQP.
MIT License
1 stars 1 forks source link

Golang JSON RPC2 Client and Server #4

Closed youkaicountry closed 3 years ago

youkaicountry commented 3 years ago

Use the JSON RPC 2.0 library provided by Google.

Story #1

theoreticalbts commented 3 years ago

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.

youkaicountry commented 3 years ago

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.

theoreticalbts commented 3 years ago

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