{"action":"created","comment":{"url":"https://api.github.com/repos/bitcoin/bitcoin/pulls/comments/180456426","pull_request_review_id":110878888,"id":180456426,"diff_hunk":"@@ -3811,6 +3843,111 @@ UniValue getaddressinfo(const JSONRPCRequest& request)\n             ret.pushKV(\"hdmasterkeyid\", meta->hdMasterKeyID.GetHex());\n         }\n     }\n+\n+    // Currently only one label can be associated with an address, return an array\n+    // so the API remains stable if we allow multiple labels to be associated with\n+    // an address.\n+    UniValue labels(UniValue::VARR);\n+    std::map<CTxDestination, CAddressBookData>::iterator mi = pwallet->mapAddressBook.find(dest);\n+    if (mi != pwallet->mapAddressBook.end()) {\n+        labels.push_back(AddressBookDataToJSON(mi->second, true));\n+    }\n+    ret.pushKV(\"labels\", std::move(labels));\n+\n+    return ret;\n+}\n+\n+UniValue getaddressesbylabel(const JSONRPCRequest& request)\n+{\n+    CWallet * const pwallet = GetWalletForJSONRPCRequest(request);\n+    if (!EnsureWalletIsAvailable(pwallet, request.fHelp)) {\n+        return NullUniValue;\n+    }\n+\n+    if (request.fHelp || request.params.size() != 1)\n+        throw std::runtime_error(\n+            \"getaddressesbylabel \\\"label\\\"\\n\"\n+            \"\\nReturns the list of addresses assigned the specified label.\\n\"\n+            \"\\nArguments:\\n\"\n+            \"1. \\\"label\\\"  (string, required) The label.\\n\"\n+            \"\\nResult:\\n\"\n+            \"{ (json object with addresses as keys)\\n\"\n+            \"  \\\"address\\\": { (json object with information about address)\\n\"\n+            \"    \\\"purpose\\\": \\\"string\\\" (string)  Purpose of address (\\\"send\\\" for sending address, \\\"receive\\\" for receiving address)\\n\"\n+            \"  },...\\n\"\n+            \"}\\n\"\n+            \"\\nExamples:\\n\"\n+            + HelpExampleCli(\"getaddressesbylabel\", \"\\\"tabby\\\"\")\n+            + HelpExampleRpc(\"getaddressesbylabel\", \"\\\"tabby\\\"\")\n+        );\n+\n+    LOCK(pwallet->cs_wallet);\n+\n+    std::string label = LabelFromValue(request.params[0]);\n+\n+    // Find all addresses that have the given label\n+    UniValue ret(UniValue::VOBJ);\n+    for (const std::pair<CTxDestination, CAddressBookData>& item : pwallet->mapAddressBook) {\n+        if (item.second.name == label) {\n+            ret.pushKV(EncodeDestination(item.first), AddressBookDataToJSON(item.second, false));\n+        }\n+    }\n+\n+    if (ret.empty()) {\n+        throw JSONRPCError(RPC_WALLET_INVALID_LABEL_NAME, std::string(\"No addresses with label \" + label));\n+    }\n+\n+    return ret;\n+}\n+\n+UniValue listlabels(const JSONRPCRequest& request)\n+{\n+    CWallet * const pwallet = GetWalletForJSONRPCRequest(request);\n+    if (!EnsureWalletIsAvailable(pwallet, request.fHelp)) {\n+        return NullUniValue;\n+    }\n+\n+    if (request.fHelp || request.params.size() > 1)\n+        throw std::runtime_error(\n+            \"listlabels ( \\\"purpose\\\" )\\n\"\n+            \"\\nReturns the list of all labels, or labels that are assigned to addresses with a specific purpose.\\n\"\n+            \"\\nArguments:\\n\"\n+            \"1. \\\"purpose\\\"  (string, optional) Address purpose to list labels for ('send','receive'). An empty string is the same as not providing this argument.\\n\"\n+            \"\\nResult:\\n\"\n+            \"[                      (json array of string)\\n\"\n+            \"  \\\"label\\\",  (string) Label name\\n\"\n+            \"  ...\\n\"\n+            \"]\\n\"\n+            \"\\nExamples:\\n\"\n+            \"\\nList all labels\\n\"\n+            + HelpExampleCli(\"listlabels\", \"\") +\n+            \"\\nList labels that have receiving addresses\\n\"\n+            + HelpExampleCli(\"listlabels\", \"receive\") +\n+            \"\\nList labels that have sending addresses\\n\"\n+            + HelpExampleCli(\"listlabels\", \"send\") +\n+            \"\\nAs json rpc call\\n\"\n+            + HelpExampleRpc(\"listlabels\", \"receive\")\n+        );\n+\n+    LOCK(pwallet->cs_wallet);\n+\n+    std::string purpose;\n+    if (!request.params[0].isNull()) {\n+        purpose = request.params[0].get_str();\n+    }\n+\n+    std::set<std::string> label_set;\n+    for (const std::pair<CTxDestination, CAddressBookData>& entry : pwallet->mapAddressBook) {\n+        if (purpose.empty() || entry.second.purpose == purpose) {\n+            label_set.insert(entry.second.name);","path":"src/wallet/rpcwallet.cpp","position":231,"original_position":231,"commit_id":"74a9e812da4d7f308425306e7c986dc5e0786225","original_commit_id":"74a9e812da4d7f308425306e7c986dc5e0786225","user":{"login":"jnewbery","id":1063656,"avatar_url":"https://avatars3.githubusercontent.com/u/1063656?v=4","gravatar_id":"","url":"https://api.github.com/users/jnewbery","html_url":"https://github.com/jnewbery","followers_url":"https://api.github.com/users/jnewbery/followers","following_url":"https://api.github.com/users/jnewbery/following{/other_user}","gists_url":"https://api.github.com/users/jnewbery/gists{/gist_id}","starred_url":"https://api.github.com/users/jnewbery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jnewbery/subscriptions","organizations_url":"https://api.github.com/users/jnewbery/orgs","repos_url":"https://api.github.com/users/jnewbery/repos","events_url":"https://api.github.com/users/jnewbery/events{/privacy}","received_events_url":"https://api.github.com/users/jnewbery/received_events","type":"User","site_admin":false},"body":"Placing into a set sorts the labels by name (`mapAddressBook` will be sorted by key, which is the `CTxDestination`)","created_at":"2018-04-10T15:05:12Z","updated_at":"2018-04-10T15:05:12Z","html_url":"https://github.com/bitcoin/bitcoin/pull/12892#discussion_r180456426","pull_request_url":"https://api.github.com/repos/bitcoin/bitcoin/pulls/12892","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/bitcoin/bitcoin/pulls/comments/180456426"},"html":{"href":"https://github.com/bitcoin/bitcoin/pull/12892#discussion_r180456426"},"pull_request":{"href":"https://api.github.com/repos/bitcoin/bitcoin/pulls/12892"}},"in_reply_to_id":180441702},"pull_request":{"url":"https://api.github.com/repos/bitcoin/bitcoin/pulls/12892","id":179744893,"html_url":"https://github.com/bitcoin/bitcoin/pull/12892","diff_url":"https://github.com/bitcoin/bitcoin/pull/12892.diff","patch_url":"https://github.com/bitcoin/bitcoin/pull/12892.patch","issue_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/12892","number":12892,"state":"open","locked":false,"title":"[wallet] [rpc] introduce 'label' API for wallet","user":{"login":"jnewbery","id":1063656,"avatar_url":"https://avatars3.githubusercontent.com/u/1063656?v=4","gravatar_id":"","url":"https://api.github.com/users/jnewbery","html_url":"https://github.com/jnewbery","followers_url":"https://api.github.com/users/jnewbery/followers","following_url":"https://api.github.com/users/jnewbery/following{/other_user}","gists_url":"https://api.github.com/users/jnewbery/gists{/gist_id}","starred_url":"https://api.github.com/users/jnewbery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jnewbery/subscriptions","organizations_url":"https://api.github.com/users/jnewbery/orgs","repos_url":"https://api.github.com/users/jnewbery/repos","events_url":"https://api.github.com/users/jnewbery/events{/privacy}","received_events_url":"https://api.github.com/users/jnewbery/received_events","type":"User","site_admin":false},"body":"Add label API to wallet RPC.\r\n\r\nThis is one step towards #3816 (\"Remove bolt-on account system\") although it doesn't\r\nactually remove anything yet.\r\n\r\nThese initially mirror the account functions, with the following differences:\r\n\r\n- These functions aren't DEPRECATED in the help\r\n- Help mentions 'label' instead of accounts. In the language used, labels are\r\n  associated with addresses, instead of addresses associated with labels. (unlike\r\n  with accounts.)\r\n- Labels have no balance\r\n  - No balances in `listlabels`\r\n  - `listlabels` has no minconf or watchonly argument\r\n- Like in the GUI, labels can be set on any address, not just receiving addreses\r\n- Unlike accounts, labels can be deleted.\r\n  Being unable to delete them is a common annoyance (see #1231).\r\n  Currently only by reassigning all addresses using `setlabel`, but an explicit\r\n  call `deletelabel` which assigns all address to the default label may make\r\n  sense.","created_at":"2018-04-05T17:28:35Z","updated_at":"2018-04-10T15:05:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ffabe2fb85ad39226f9e5b29a6701f938a0e3720","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":149424,"url":"https://api.github.com/repos/bitcoin/bitcoin/labels/Wallet","name":"Wallet","color":"08a781","default":false}],"milestone":{"url":"https://api.github.com/repos/bitcoin/bitcoin/milestones/33","html_url":"https://github.com/bitcoin/bitcoin/milestone/33","labels_url":"https://api.github.com/repos/bitcoin/bitcoin/milestones/33/labels","id":2931889,"number":33,"title":"0.17.0","description":"","creator":{"login":"MarcoFalke","id":6399679,"avatar_url":"https://avatars0.githubusercontent.com/u/6399679?v=4","gravatar_id":"","url":"https://api.github.com/users/MarcoFalke","html_url":"https://github.com/MarcoFalke","followers_url":"https://api.github.com/users/MarcoFalke/followers","following_url":"https://api.github.com/users/MarcoFalke/following{/other_user}","gists_url":"https://api.github.com/users/MarcoFalke/gists{/gist_id}","starred_url":"https://api.github.com/users/MarcoFalke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarcoFalke/subscriptions","organizations_url":"https://api.github.com/users/MarcoFalke/orgs","repos_url":"https://api.github.com/users/MarcoFalke/repos","events_url":"https://api.github.com/users/MarcoFalke/events{/privacy}","received_events_url":"https://api.github.com/users/MarcoFalke/received_events","type":"User","site_admin":false},"open_issues":19,"closed_issues":17,"state":"open","created_at":"2017-11-22T18:54:09Z","updated_at":"2018-04-09T00:26:36Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/bitcoin/bitcoin/pulls/12892/commits","review_comments_url":"https://api.github.com/repos/bitcoin/bitcoin/pulls/12892/comments","review_comment_url":"https://api.github.com/repos/bitcoin/bitcoin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/12892/comments","statuses_url":"https://api.github.com/repos/bitcoin/bitcoin/statuses/74a9e812da4d7f308425306e7c986dc5e0786225","head":{"label":"jnewbery:7729_jnewbery","ref":"7729_jnewbery","sha":"74a9e812da4d7f308425306e7c986dc5e0786225","user":{"login":"jnewbery","id":1063656,"avatar_url":"https://avatars3.githubusercontent.com/u/1063656?v=4","gravatar_id":"","url":"https://api.github.com/users/jnewbery","html_url":"https://github.com/jnewbery","followers_url":"https://api.github.com/users/jnewbery/followers","following_url":"https://api.github.com/users/jnewbery/following{/other_user}","gists_url":"https://api.github.com/users/jnewbery/gists{/gist_id}","starred_url":"https://api.github.com/users/jnewbery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jnewbery/subscriptions","organizations_url":"https://api.github.com/users/jnewbery/orgs","repos_url":"https://api.github.com/users/jnewbery/repos","events_url":"https://api.github.com/users/jnewbery/events{/privacy}","received_events_url":"https://api.github.com/users/jnewbery/received_events","type":"User","site_admin":false},"repo":{"id":68248485,"name":"bitcoin","full_name":"jnewbery/bitcoin","owner":{"login":"jnewbery","id":1063656,"avatar_url":"https://avatars3.githubusercontent.com/u/1063656?v=4","gravatar_id":"","url":"https://api.github.com/users/jnewbery","html_url":"https://github.com/jnewbery","followers_url":"https://api.github.com/users/jnewbery/followers","following_url":"https://api.github.com/users/jnewbery/following{/other_user}","gists_url":"https://api.github.com/users/jnewbery/gists{/gist_id}","starred_url":"https://api.github.com/users/jnewbery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jnewbery/subscriptions","organizations_url":"https://api.github.com/users/jnewbery/orgs","repos_url":"https://api.github.com/users/jnewbery/repos","events_url":"https://api.github.com/users/jnewbery/events{/privacy}","received_events_url":"https://api.github.com/users/jnewbery/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jnewbery/bitcoin","description":"Bitcoin Core integration/staging tree","fork":true,"url":"https://api.github.com/repos/jnewbery/bitcoin","forks_url":"https://api.github.com/repos/jnewbery/bitcoin/forks","keys_url":"https://api.github.com/repos/jnewbery/bitcoin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jnewbery/bitcoin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jnewbery/bitcoin/teams","hooks_url":"https://api.github.com/repos/jnewbery/bitcoin/hooks","issue_events_url":"https://api.github.com/repos/jnewbery/bitcoin/issues/events{/number}","events_url":"https://api.github.com/repos/jnewbery/bitcoin/events","assignees_url":"https://api.github.com/repos/jnewbery/bitcoin/assignees{/user}","branches_url":"https://api.github.com/repos/jnewbery/bitcoin/branches{/branch}","tags_url":"https://api.github.com/repos/jnewbery/bitcoin/tags","blobs_url":"https://api.github.com/repos/jnewbery/bitcoin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jnewbery/bitcoin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jnewbery/bitcoin/git/refs{/sha}","trees_url":"https://api.github.com/repos/jnewbery/bitcoin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jnewbery/bitcoin/statuses/{sha}","languages_url":"https://api.github.com/repos/jnewbery/bitcoin/languages","stargazers_url":"https://api.github.com/repos/jnewbery/bitcoin/stargazers","contributors_url":"https://api.github.com/repos/jnewbery/bitcoin/contributors","subscribers_url":"https://api.github.com/repos/jnewbery/bitcoin/subscribers","subscription_url":"https://api.github.com/repos/jnewbery/bitcoin/subscription","commits_url":"https://api.github.com/repos/jnewbery/bitcoin/commits{/sha}","git_commits_url":"https://api.github.com/repos/jnewbery/bitcoin/git/commits{/sha}","comments_url":"https://api.github.com/repos/jnewbery/bitcoin/comments{/number}","issue_comment_url":"https://api.github.com/repos/jnewbery/bitcoin/issues/comments{/number}","contents_url":"https://api.github.com/repos/jnewbery/bitcoin/contents/{+path}","compare_url":"https://api.github.com/repos/jnewbery/bitcoin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jnewbery/bitcoin/merges","archive_url":"https://api.github.com/repos/jnewbery/bitcoin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jnewbery/bitcoin/downloads","issues_url":"https://api.github.com/repos/jnewbery/bitcoin/issues{/number}","pulls_url":"https://api.github.com/repos/jnewbery/bitcoin/pulls{/number}","milestones_url":"https://api.github.com/repos/jnewbery/bitcoin/milestones{/number}","notifications_url":"https://api.github.com/repos/jnewbery/bitcoin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jnewbery/bitcoin/labels{/name}","releases_url":"https://api.github.com/repos/jnewbery/bitcoin/releases{/id}","deployments_url":"https://api.github.com/repos/jnewbery/bitcoin/deployments","created_at":"2016-09-14T22:29:05Z","updated_at":"2016-09-14T22:29:18Z","pushed_at":"2018-04-10T14:19:30Z","git_url":"git://github.com/jnewbery/bitcoin.git","ssh_url":"git@github.com:jnewbery/bitcoin.git","clone_url":"https://github.com/jnewbery/bitcoin.git","svn_url":"https://github.com/jnewbery/bitcoin","homepage":"https://bitcoin.org/en/download","size":109142,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"bitcoin:master","ref":"master","sha":"5ca1509d6af5dea1151933342a085b3af43c78e7","user":{"login":"bitcoin","id":528860,"avatar_url":"https://avatars2.githubusercontent.com/u/528860?v=4","gravatar_id":"","url":"https://api.github.com/users/bitcoin","html_url":"https://github.com/bitcoin","followers_url":"https://api.github.com/users/bitcoin/followers","following_url":"https://api.github.com/users/bitcoin/following{/other_user}","gists_url":"https://api.github.com/users/bitcoin/gists{/gist_id}","starred_url":"https://api.github.com/users/bitcoin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitcoin/subscriptions","organizations_url":"https://api.github.com/users/bitcoin/orgs","repos_url":"https://api.github.com/users/bitcoin/repos","events_url":"https://api.github.com/users/bitcoin/events{/privacy}","received_events_url":"https://api.github.com/users/bitcoin/received_events","type":"Organization","site_admin":false},"repo":{"id":1181927,"name":"bitcoin","full_name":"bitcoin/bitcoin","owner":{"login":"bitcoin","id":528860,"avatar_url":"https://avatars2.githubusercontent.com/u/528860?v=4","gravatar_id":"","url":"https://api.github.com/users/bitcoin","html_url":"https://github.com/bitcoin","followers_url":"https://api.github.com/users/bitcoin/followers","following_url":"https://api.github.com/users/bitcoin/following{/other_user}","gists_url":"https://api.github.com/users/bitcoin/gists{/gist_id}","starred_url":"https://api.github.com/users/bitcoin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitcoin/subscriptions","organizations_url":"https://api.github.com/users/bitcoin/orgs","repos_url":"https://api.github.com/users/bitcoin/repos","events_url":"https://api.github.com/users/bitcoin/events{/privacy}","received_events_url":"https://api.github.com/users/bitcoin/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bitcoin/bitcoin","description":"Bitcoin Core integration/staging tree","fork":false,"url":"https://api.github.com/repos/bitcoin/bitcoin","forks_url":"https://api.github.com/repos/bitcoin/bitcoin/forks","keys_url":"https://api.github.com/repos/bitcoin/bitcoin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bitcoin/bitcoin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bitcoin/bitcoin/teams","hooks_url":"https://api.github.com/repos/bitcoin/bitcoin/hooks","issue_events_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/events{/number}","events_url":"https://api.github.com/repos/bitcoin/bitcoin/events","assignees_url":"https://api.github.com/repos/bitcoin/bitcoin/assignees{/user}","branches_url":"https://api.github.com/repos/bitcoin/bitcoin/branches{/branch}","tags_url":"https://api.github.com/repos/bitcoin/bitcoin/tags","blobs_url":"https://api.github.com/repos/bitcoin/bitcoin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bitcoin/bitcoin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bitcoin/bitcoin/git/refs{/sha}","trees_url":"https://api.github.com/repos/bitcoin/bitcoin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bitcoin/bitcoin/statuses/{sha}","languages_url":"https://api.github.com/repos/bitcoin/bitcoin/languages","stargazers_url":"https://api.github.com/repos/bitcoin/bitcoin/stargazers","contributors_url":"https://api.github.com/repos/bitcoin/bitcoin/contributors","subscribers_url":"https://api.github.com/repos/bitcoin/bitcoin/subscribers","subscription_url":"https://api.github.com/repos/bitcoin/bitcoin/subscription","commits_url":"https://api.github.com/repos/bitcoin/bitcoin/commits{/sha}","git_commits_url":"https://api.github.com/repos/bitcoin/bitcoin/git/commits{/sha}","comments_url":"https://api.github.com/repos/bitcoin/bitcoin/comments{/number}","issue_comment_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/comments{/number}","contents_url":"https://api.github.com/repos/bitcoin/bitcoin/contents/{+path}","compare_url":"https://api.github.com/repos/bitcoin/bitcoin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bitcoin/bitcoin/merges","archive_url":"https://api.github.com/repos/bitcoin/bitcoin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bitcoin/bitcoin/downloads","issues_url":"https://api.github.com/repos/bitcoin/bitcoin/issues{/number}","pulls_url":"https://api.github.com/repos/bitcoin/bitcoin/pulls{/number}","milestones_url":"https://api.github.com/repos/bitcoin/bitcoin/milestones{/number}","notifications_url":"https://api.github.com/repos/bitcoin/bitcoin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bitcoin/bitcoin/labels{/name}","releases_url":"https://api.github.com/repos/bitcoin/bitcoin/releases{/id}","deployments_url":"https://api.github.com/repos/bitcoin/bitcoin/deployments","created_at":"2010-12-19T15:16:43Z","updated_at":"2018-04-10T14:59:27Z","pushed_at":"2018-04-10T14:58:59Z","git_url":"git://github.com/bitcoin/bitcoin.git","ssh_url":"git@github.com:bitcoin/bitcoin.git","clone_url":"https://github.com/bitcoin/bitcoin.git","svn_url":"https://github.com/bitcoin/bitcoin","homepage":"https://bitcoin.org/en/download","size":104340,"stargazers_count":30392,"watchers_count":30392,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":18235,"mirror_url":null,"archived":false,"open_issues_count":776,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":18235,"open_issues":776,"watchers":30392,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bitcoin/bitcoin/pulls/12892"},"html":{"href":"https://github.com/bitcoin/bitcoin/pull/12892"},"issue":{"href":"https://api.github.com/repos/bitcoin/bitcoin/issues/12892"},"comments":{"href":"https://api.github.com/repos/bitcoin/bitcoin/issues/12892/comments"},"review_comments":{"href":"https://api.github.com/repos/bitcoin/bitcoin/pulls/12892/comments"},"review_comment":{"href":"https://api.github.com/repos/bitcoin/bitcoin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bitcoin/bitcoin/pulls/12892/commits"},"statuses":{"href":"https://api.github.com/repos/bitcoin/bitcoin/statuses/74a9e812da4d7f308425306e7c986dc5e0786225"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"jnewbery"}}