{"action":"opened","issue":{"url":"https://api.github.com/repos/chris-belcher/joinmarket/issues/137","labels_url":"https://api.github.com/repos/chris-belcher/joinmarket/issues/137/labels{/name}","comments_url":"https://api.github.com/repos/chris-belcher/joinmarket/issues/137/comments","events_url":"https://api.github.com/repos/chris-belcher/joinmarket/issues/137/events","html_url":"https://github.com/chris-belcher/joinmarket/issues/137","id":93347710,"number":137,"title":"Use JSON-RPC for Bitcoin Core interface","user":{"login":"domob1812","id":4943644,"avatar_url":"https://avatars.githubusercontent.com/u/4943644?v=3","gravatar_id":"","url":"https://api.github.com/users/domob1812","html_url":"https://github.com/domob1812","followers_url":"https://api.github.com/users/domob1812/followers","following_url":"https://api.github.com/users/domob1812/following{/other_user}","gists_url":"https://api.github.com/users/domob1812/gists{/gist_id}","starred_url":"https://api.github.com/users/domob1812/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/domob1812/subscriptions","organizations_url":"https://api.github.com/users/domob1812/orgs","repos_url":"https://api.github.com/users/domob1812/repos","events_url":"https://api.github.com/users/domob1812/events{/privacy}","received_events_url":"https://api.github.com/users/domob1812/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-06T18:46:18Z","updated_at":"2015-07-06T18:46:18Z","closed_at":null,"body":"Currently, the Bitcoin Core interface uses the CLI binary.  Instead, one could use JSON-RPC directly.  It is not hard to implement directly, or an existing library like http://json-rpc.org/wiki/python-json-rpc could be used.  This is probably more efficient than using the CLI binary.  In addition, it is easier to handle errors in a clean way, as the error codes are readily available.\r\n\r\nIs this desired, or was the CLI method chosen for a specific reason?  If a switch to JSON-RPC is considered a good idea, I can provide a patch."}}