{"action":"created","issue":{"url":"https://api.github.com/repos/btcsuite/btcd/issues/341","labels_url":"https://api.github.com/repos/btcsuite/btcd/issues/341/labels{/name}","comments_url":"https://api.github.com/repos/btcsuite/btcd/issues/341/comments","events_url":"https://api.github.com/repos/btcsuite/btcd/issues/341/events","html_url":"https://github.com/btcsuite/btcd/pull/341","id":60023197,"number":341,"title":"Add new 'node' RPC command","user":{"login":"Roasbeef","id":998190,"avatar_url":"https://avatars.githubusercontent.com/u/998190?v=3","gravatar_id":"","url":"https://api.github.com/users/Roasbeef","html_url":"https://github.com/Roasbeef","followers_url":"https://api.github.com/users/Roasbeef/followers","following_url":"https://api.github.com/users/Roasbeef/following{/other_user}","gists_url":"https://api.github.com/users/Roasbeef/gists{/gist_id}","starred_url":"https://api.github.com/users/Roasbeef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Roasbeef/subscriptions","organizations_url":"https://api.github.com/users/Roasbeef/orgs","repos_url":"https://api.github.com/users/Roasbeef/repos","events_url":"https://api.github.com/users/Roasbeef/events{/privacy}","received_events_url":"https://api.github.com/users/Roasbeef/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-03-05T22:00:35Z","updated_at":"2015-03-10T18:07:42Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/btcsuite/btcd/pulls/341","html_url":"https://github.com/btcsuite/btcd/pull/341","diff_url":"https://github.com/btcsuite/btcd/pull/341.diff","patch_url":"https://github.com/btcsuite/btcd/pull/341.patch"},"body":"This PR adds new JSON-RPC command: `node`. `node` allows a node operator full control over the peers their node is connect to.\r\nA call to the new `node` RPC can take the following forms:\r\n  * `btcctl node connect <addr> perm` (will attempt connect to a peer and mark it was permanent) \r\n  * `btcctl node connect <addr> non-perm` (will attempt to connect to a peer)\r\n  * `btcctl node disconnect <addr>` (will attempt to remove an outgoing or incoming peer)\r\n  * `btcctl node remove <addr>` (will attempt to remove a permanent peer)\r\n\r\nThis PR replaces #336. \r\nThis aims to fix #79 by adding a new command that can disconnect any (inbound or outbound) non-persistent peer. "},"comment":{"url":"https://api.github.com/repos/btcsuite/btcd/issues/comments/78112591","html_url":"https://github.com/btcsuite/btcd/pull/341#issuecomment-78112591","issue_url":"https://api.github.com/repos/btcsuite/btcd/issues/341","id":78112591,"user":{"login":"davecgh","id":2115102,"avatar_url":"https://avatars.githubusercontent.com/u/2115102?v=3","gravatar_id":"","url":"https://api.github.com/users/davecgh","html_url":"https://github.com/davecgh","followers_url":"https://api.github.com/users/davecgh/followers","following_url":"https://api.github.com/users/davecgh/following{/other_user}","gists_url":"https://api.github.com/users/davecgh/gists{/gist_id}","starred_url":"https://api.github.com/users/davecgh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davecgh/subscriptions","organizations_url":"https://api.github.com/users/davecgh/orgs","repos_url":"https://api.github.com/users/davecgh/repos","events_url":"https://api.github.com/users/davecgh/events{/privacy}","received_events_url":"https://api.github.com/users/davecgh/received_events","type":"User","site_admin":false},"created_at":"2015-03-10T18:07:42Z","updated_at":"2015-03-10T18:07:42Z","body":"I'd say all of them ideally."}}