{"action":"opened","number":141,"pull_request":{"url":"https://api.github.com/repos/chris-belcher/joinmarket/pulls/141","id":39398536,"html_url":"https://github.com/chris-belcher/joinmarket/pull/141","diff_url":"https://github.com/chris-belcher/joinmarket/pull/141.diff","patch_url":"https://github.com/chris-belcher/joinmarket/pull/141.patch","issue_url":"https://api.github.com/repos/chris-belcher/joinmarket/issues/141","number":141,"state":"open","locked":false,"title":"Implement JSON-RPC interface instead of CLI.","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},"body":"Replace the connection to Bitcoin Core via bitcoin-cli by a connection through its JSON-RPC interface.  This is cleaner, as it does not require to convert everything to/from strings.  It is also able to handle error codes.\r\n\r\nSee https://github.com/chris-belcher/joinmarket/issues/137.\r\n\r\nI have tested that it works successfully for a `sendpayment.py` order.  More testing would probably be good, though.","created_at":"2015-07-07T18:00:20Z","updated_at":"2015-07-07T18:00:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/chris-belcher/joinmarket/pulls/141/commits","review_comments_url":"https://api.github.com/repos/chris-belcher/joinmarket/pulls/141/comments","review_comment_url":"https://api.github.com/repos/chris-belcher/joinmarket/pulls/comments{/number}","comments_url":"https://api.github.com/repos/chris-belcher/joinmarket/issues/141/comments","statuses_url":"https://api.github.com/repos/chris-belcher/joinmarket/statuses/206c6270f16e0d568cfc0f53896b61160a23ae0c","head":{"label":"domob1812:json-rpc","ref":"json-rpc","sha":"206c6270f16e0d568cfc0f53896b61160a23ae0c","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},"repo":{"id":38441488,"name":"joinmarket","full_name":"domob1812/joinmarket","owner":{"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},"private":false,"html_url":"https://github.com/domob1812/joinmarket","description":"CoinJoin implementation with incentive structure to convince people to take part","fork":true,"url":"https://api.github.com/repos/domob1812/joinmarket","forks_url":"https://api.github.com/repos/domob1812/joinmarket/forks","keys_url":"https://api.github.com/repos/domob1812/joinmarket/keys{/key_id}","collaborators_url":"https://api.github.com/repos/domob1812/joinmarket/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/domob1812/joinmarket/teams","hooks_url":"https://api.github.com/repos/domob1812/joinmarket/hooks","issue_events_url":"https://api.github.com/repos/domob1812/joinmarket/issues/events{/number}","events_url":"https://api.github.com/repos/domob1812/joinmarket/events","assignees_url":"https://api.github.com/repos/domob1812/joinmarket/assignees{/user}","branches_url":"https://api.github.com/repos/domob1812/joinmarket/branches{/branch}","tags_url":"https://api.github.com/repos/domob1812/joinmarket/tags","blobs_url":"https://api.github.com/repos/domob1812/joinmarket/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/domob1812/joinmarket/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/domob1812/joinmarket/git/refs{/sha}","trees_url":"https://api.github.com/repos/domob1812/joinmarket/git/trees{/sha}","statuses_url":"https://api.github.com/repos/domob1812/joinmarket/statuses/{sha}","languages_url":"https://api.github.com/repos/domob1812/joinmarket/languages","stargazers_url":"https://api.github.com/repos/domob1812/joinmarket/stargazers","contributors_url":"https://api.github.com/repos/domob1812/joinmarket/contributors","subscribers_url":"https://api.github.com/repos/domob1812/joinmarket/subscribers","subscription_url":"https://api.github.com/repos/domob1812/joinmarket/subscription","commits_url":"https://api.github.com/repos/domob1812/joinmarket/commits{/sha}","git_commits_url":"https://api.github.com/repos/domob1812/joinmarket/git/commits{/sha}","comments_url":"https://api.github.com/repos/domob1812/joinmarket/comments{/number}","issue_comment_url":"https://api.github.com/repos/domob1812/joinmarket/issues/comments{/number}","contents_url":"https://api.github.com/repos/domob1812/joinmarket/contents/{+path}","compare_url":"https://api.github.com/repos/domob1812/joinmarket/compare/{base}...{head}","merges_url":"https://api.github.com/repos/domob1812/joinmarket/merges","archive_url":"https://api.github.com/repos/domob1812/joinmarket/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/domob1812/joinmarket/downloads","issues_url":"https://api.github.com/repos/domob1812/joinmarket/issues{/number}","pulls_url":"https://api.github.com/repos/domob1812/joinmarket/pulls{/number}","milestones_url":"https://api.github.com/repos/domob1812/joinmarket/milestones{/number}","notifications_url":"https://api.github.com/repos/domob1812/joinmarket/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/domob1812/joinmarket/labels{/name}","releases_url":"https://api.github.com/repos/domob1812/joinmarket/releases{/id}","created_at":"2015-07-02T15:42:52Z","updated_at":"2015-07-02T15:42:53Z","pushed_at":"2015-07-07T17:51:31Z","git_url":"git://github.com/domob1812/joinmarket.git","ssh_url":"git@github.com:domob1812/joinmarket.git","clone_url":"https://github.com/domob1812/joinmarket.git","svn_url":"https://github.com/domob1812/joinmarket","homepage":"","size":603,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"chris-belcher:master","ref":"master","sha":"409fb74491566db250ac084ae1b97f02addeb8d7","user":{"login":"chris-belcher","id":8398185,"avatar_url":"https://avatars.githubusercontent.com/u/8398185?v=3","gravatar_id":"","url":"https://api.github.com/users/chris-belcher","html_url":"https://github.com/chris-belcher","followers_url":"https://api.github.com/users/chris-belcher/followers","following_url":"https://api.github.com/users/chris-belcher/following{/other_user}","gists_url":"https://api.github.com/users/chris-belcher/gists{/gist_id}","starred_url":"https://api.github.com/users/chris-belcher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chris-belcher/subscriptions","organizations_url":"https://api.github.com/users/chris-belcher/orgs","repos_url":"https://api.github.com/users/chris-belcher/repos","events_url":"https://api.github.com/users/chris-belcher/events{/privacy}","received_events_url":"https://api.github.com/users/chris-belcher/received_events","type":"User","site_admin":false},"repo":{"id":27746301,"name":"joinmarket","full_name":"chris-belcher/joinmarket","owner":{"login":"chris-belcher","id":8398185,"avatar_url":"https://avatars.githubusercontent.com/u/8398185?v=3","gravatar_id":"","url":"https://api.github.com/users/chris-belcher","html_url":"https://github.com/chris-belcher","followers_url":"https://api.github.com/users/chris-belcher/followers","following_url":"https://api.github.com/users/chris-belcher/following{/other_user}","gists_url":"https://api.github.com/users/chris-belcher/gists{/gist_id}","starred_url":"https://api.github.com/users/chris-belcher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chris-belcher/subscriptions","organizations_url":"https://api.github.com/users/chris-belcher/orgs","repos_url":"https://api.github.com/users/chris-belcher/repos","events_url":"https://api.github.com/users/chris-belcher/events{/privacy}","received_events_url":"https://api.github.com/users/chris-belcher/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chris-belcher/joinmarket","description":"CoinJoin implementation with incentive structure to convince people to take part","fork":false,"url":"https://api.github.com/repos/chris-belcher/joinmarket","forks_url":"https://api.github.com/repos/chris-belcher/joinmarket/forks","keys_url":"https://api.github.com/repos/chris-belcher/joinmarket/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chris-belcher/joinmarket/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chris-belcher/joinmarket/teams","hooks_url":"https://api.github.com/repos/chris-belcher/joinmarket/hooks","issue_events_url":"https://api.github.com/repos/chris-belcher/joinmarket/issues/events{/number}","events_url":"https://api.github.com/repos/chris-belcher/joinmarket/events","assignees_url":"https://api.github.com/repos/chris-belcher/joinmarket/assignees{/user}","branches_url":"https://api.github.com/repos/chris-belcher/joinmarket/branches{/branch}","tags_url":"https://api.github.com/repos/chris-belcher/joinmarket/tags","blobs_url":"https://api.github.com/repos/chris-belcher/joinmarket/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chris-belcher/joinmarket/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chris-belcher/joinmarket/git/refs{/sha}","trees_url":"https://api.github.com/repos/chris-belcher/joinmarket/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chris-belcher/joinmarket/statuses/{sha}","languages_url":"https://api.github.com/repos/chris-belcher/joinmarket/languages","stargazers_url":"https://api.github.com/repos/chris-belcher/joinmarket/stargazers","contributors_url":"https://api.github.com/repos/chris-belcher/joinmarket/contributors","subscribers_url":"https://api.github.com/repos/chris-belcher/joinmarket/subscribers","subscription_url":"https://api.github.com/repos/chris-belcher/joinmarket/subscription","commits_url":"https://api.github.com/repos/chris-belcher/joinmarket/commits{/sha}","git_commits_url":"https://api.github.com/repos/chris-belcher/joinmarket/git/commits{/sha}","comments_url":"https://api.github.com/repos/chris-belcher/joinmarket/comments{/number}","issue_comment_url":"https://api.github.com/repos/chris-belcher/joinmarket/issues/comments{/number}","contents_url":"https://api.github.com/repos/chris-belcher/joinmarket/contents/{+path}","compare_url":"https://api.github.com/repos/chris-belcher/joinmarket/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chris-belcher/joinmarket/merges","archive_url":"https://api.github.com/repos/chris-belcher/joinmarket/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chris-belcher/joinmarket/downloads","issues_url":"https://api.github.com/repos/chris-belcher/joinmarket/issues{/number}","pulls_url":"https://api.github.com/repos/chris-belcher/joinmarket/pulls{/number}","milestones_url":"https://api.github.com/repos/chris-belcher/joinmarket/milestones{/number}","notifications_url":"https://api.github.com/repos/chris-belcher/joinmarket/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chris-belcher/joinmarket/labels{/name}","releases_url":"https://api.github.com/repos/chris-belcher/joinmarket/releases{/id}","created_at":"2014-12-09T02:44:35Z","updated_at":"2015-07-05T21:23:31Z","pushed_at":"2015-07-06T21:22:47Z","git_url":"git://github.com/chris-belcher/joinmarket.git","ssh_url":"git@github.com:chris-belcher/joinmarket.git","clone_url":"https://github.com/chris-belcher/joinmarket.git","svn_url":"https://github.com/chris-belcher/joinmarket","homepage":"","size":1959,"stargazers_count":57,"watchers_count":57,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":16,"mirror_url":null,"open_issues_count":65,"forks":16,"open_issues":65,"watchers":57,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/chris-belcher/joinmarket/pulls/141"},"html":{"href":"https://github.com/chris-belcher/joinmarket/pull/141"},"issue":{"href":"https://api.github.com/repos/chris-belcher/joinmarket/issues/141"},"comments":{"href":"https://api.github.com/repos/chris-belcher/joinmarket/issues/141/comments"},"review_comments":{"href":"https://api.github.com/repos/chris-belcher/joinmarket/pulls/141/comments"},"review_comment":{"href":"https://api.github.com/repos/chris-belcher/joinmarket/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/chris-belcher/joinmarket/pulls/141/commits"},"statuses":{"href":"https://api.github.com/repos/chris-belcher/joinmarket/statuses/206c6270f16e0d568cfc0f53896b61160a23ae0c"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":170,"deletions":51,"changed_files":3}}