Commit graph

8 commits

Author SHA1 Message Date
Calin Culianu
faeb64207f Finally.. finished refactoring out the RPC bits.
Now we can re-use the RPC method<->result code in the TcpServer side
which will face wallets.  Phew!  Took me long enough!

It's a minimal JSON-RPC protocol impl.. but it'll do.

The 1 nice bit is the Schema spec I came up with which more-or-less
works well enough as a first-pass validatior.

Further passes are needed in interested client code, but the initial
pass validation can be done in a thread so as to not waste the main
thread's time validating json or dict key presence/absense. Yay.
2019-04-30 19:21:47 +03:00
Calin Culianu
5e4aa2d9f9 renamed boilerplate_disconnect to disconnect 2019-04-30 17:09:07 +03:00
Calin Culianu
463b3d00b9 intermediate commit 2019-04-30 13:18:05 +03:00
Calin Culianu
ae5237bb0f another step... 2019-04-30 10:37:45 +03:00
Calin Culianu
4bd954a390 intermediate commit.. about to refactor exclient more 2019-04-30 10:01:21 +03:00
Calin Culianu
64f80b1e02 schema and method stuff 2019-04-29 22:04:35 +03:00
Calin Culianu
dcb6e23c10 RPC Schema - fixed a bug in detecting extra keys
- Cleanup and nits, as well
2019-04-29 21:18:03 +03:00
Calin Culianu
24b8e992b5 initial schema impl 2019-04-29 10:01:58 +03:00