Closed SomberNight closed 5 years ago
here are two other projects that combine jsonrpc and aiohttp:
jsonrpcserver allows to use multiple servers in the same process, see: https://github.com/bcb/jsonrpcserver/issues/86 and also: cf7b43d64ff6e48a2d0794ae2145b415f815bb61
I suggest we try to use it for the daemon RPC, in place of jsonrpclib-pelix; that should be easier than aiorpcx
done in 5df5aaa96d35acb854cb7e7098e5ef23e85c751e
Look into using
aiorpcx
for "local rpc" instead ofjsonrpclib-pelix
. (communicating with electrumdaemon
) e.g.It might not be easy, as with
jsonrpclib-pelix
we currently support RPC over HTTP; and it's not clear how to do that with aiorpcx. (e.g. https://github.com/spesmilo/electrum-merchant uses HTTP) e.g.a "middleware" that speaks HTTP might be needed (aiohttp?)