{"action":"created","comment":{"url":"https://api.github.com/repos/lightningnetwork/lnd/pulls/comments/224368810","pull_request_review_id":163714115,"id":224368810,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNDM2ODgxMA==","diff_hunk":"@@ -1773,6 +1773,11 @@ func (r *rpcServer) ListChannels(ctx context.Context,\n \t\tlocalBalance := localCommit.LocalBalance\n \t\tremoteBalance := localCommit.RemoteBalance\n \n+                // Also for display purposes, we'll subtract the channel's \"reserve\"\n+                // to show many satoshis can actually be spent","path":"rpcserver.go","position":5,"original_position":5,"commit_id":"7a8321bc014d639f5cffffa8e0b36db5abbcec8c","original_commit_id":"7a8321bc014d639f5cffffa8e0b36db5abbcec8c","user":{"login":"halseth","id":3765732,"node_id":"MDQ6VXNlcjM3NjU3MzI=","avatar_url":"https://avatars1.githubusercontent.com/u/3765732?v=4","gravatar_id":"","url":"https://api.github.com/users/halseth","html_url":"https://github.com/halseth","followers_url":"https://api.github.com/users/halseth/followers","following_url":"https://api.github.com/users/halseth/following{/other_user}","gists_url":"https://api.github.com/users/halseth/gists{/gist_id}","starred_url":"https://api.github.com/users/halseth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/halseth/subscriptions","organizations_url":"https://api.github.com/users/halseth/orgs","repos_url":"https://api.github.com/users/halseth/repos","events_url":"https://api.github.com/users/halseth/events{/privacy}","received_events_url":"https://api.github.com/users/halseth/received_events","type":"User","site_admin":false},"body":"Indentation is off. Try running `make fmt`.","created_at":"2018-10-11T08:59:44Z","updated_at":"2018-10-11T08:59:44Z","html_url":"https://github.com/lightningnetwork/lnd/pull/1998#discussion_r224368810","pull_request_url":"https://api.github.com/repos/lightningnetwork/lnd/pulls/1998","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/lightningnetwork/lnd/pulls/comments/224368810"},"html":{"href":"https://github.com/lightningnetwork/lnd/pull/1998#discussion_r224368810"},"pull_request":{"href":"https://api.github.com/repos/lightningnetwork/lnd/pulls/1998"}}},"pull_request":{"url":"https://api.github.com/repos/lightningnetwork/lnd/pulls/1998","id":219237018,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE5MjM3MDE4","html_url":"https://github.com/lightningnetwork/lnd/pull/1998","diff_url":"https://github.com/lightningnetwork/lnd/pull/1998.diff","patch_url":"https://github.com/lightningnetwork/lnd/pull/1998.patch","issue_url":"https://api.github.com/repos/lightningnetwork/lnd/issues/1998","number":1998,"state":"open","locked":false,"title":"rpc: Add new descriptive fields to ListChannels RPC","user":{"login":"orbitalturtle","id":33561706,"node_id":"MDQ6VXNlcjMzNTYxNzA2","avatar_url":"https://avatars3.githubusercontent.com/u/33561706?v=4","gravatar_id":"","url":"https://api.github.com/users/orbitalturtle","html_url":"https://github.com/orbitalturtle","followers_url":"https://api.github.com/users/orbitalturtle/followers","following_url":"https://api.github.com/users/orbitalturtle/following{/other_user}","gists_url":"https://api.github.com/users/orbitalturtle/gists{/gist_id}","starred_url":"https://api.github.com/users/orbitalturtle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orbitalturtle/subscriptions","organizations_url":"https://api.github.com/users/orbitalturtle/orgs","repos_url":"https://api.github.com/users/orbitalturtle/repos","events_url":"https://api.github.com/users/orbitalturtle/events{/privacy}","received_events_url":"https://api.github.com/users/orbitalturtle/received_events","type":"User","site_admin":false},"body":"As described in #1639, this PR adds a few new fields to each channel listed in the ListChannels RPC.   \r\n\r\nThis is my first PR to lnd. More than happy to make changes :-) :-p.","created_at":"2018-10-01T00:20:00Z","updated_at":"2018-10-11T08:59:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/lightningnetwork/lnd/pulls/1998/commits","review_comments_url":"https://api.github.com/repos/lightningnetwork/lnd/pulls/1998/comments","review_comment_url":"https://api.github.com/repos/lightningnetwork/lnd/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lightningnetwork/lnd/issues/1998/comments","statuses_url":"https://api.github.com/repos/lightningnetwork/lnd/statuses/7a8321bc014d639f5cffffa8e0b36db5abbcec8c","head":{"label":"orbitalturtle:ListChannelsUpdate","ref":"ListChannelsUpdate","sha":"7a8321bc014d639f5cffffa8e0b36db5abbcec8c","user":{"login":"orbitalturtle","id":33561706,"node_id":"MDQ6VXNlcjMzNTYxNzA2","avatar_url":"https://avatars3.githubusercontent.com/u/33561706?v=4","gravatar_id":"","url":"https://api.github.com/users/orbitalturtle","html_url":"https://github.com/orbitalturtle","followers_url":"https://api.github.com/users/orbitalturtle/followers","following_url":"https://api.github.com/users/orbitalturtle/following{/other_user}","gists_url":"https://api.github.com/users/orbitalturtle/gists{/gist_id}","starred_url":"https://api.github.com/users/orbitalturtle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orbitalturtle/subscriptions","organizations_url":"https://api.github.com/users/orbitalturtle/orgs","repos_url":"https://api.github.com/users/orbitalturtle/repos","events_url":"https://api.github.com/users/orbitalturtle/events{/privacy}","received_events_url":"https://api.github.com/users/orbitalturtle/received_events","type":"User","site_admin":false},"repo":{"id":137547230,"node_id":"MDEwOlJlcG9zaXRvcnkxMzc1NDcyMzA=","name":"lnd","full_name":"orbitalturtle/lnd","private":false,"owner":{"login":"orbitalturtle","id":33561706,"node_id":"MDQ6VXNlcjMzNTYxNzA2","avatar_url":"https://avatars3.githubusercontent.com/u/33561706?v=4","gravatar_id":"","url":"https://api.github.com/users/orbitalturtle","html_url":"https://github.com/orbitalturtle","followers_url":"https://api.github.com/users/orbitalturtle/followers","following_url":"https://api.github.com/users/orbitalturtle/following{/other_user}","gists_url":"https://api.github.com/users/orbitalturtle/gists{/gist_id}","starred_url":"https://api.github.com/users/orbitalturtle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orbitalturtle/subscriptions","organizations_url":"https://api.github.com/users/orbitalturtle/orgs","repos_url":"https://api.github.com/users/orbitalturtle/repos","events_url":"https://api.github.com/users/orbitalturtle/events{/privacy}","received_events_url":"https://api.github.com/users/orbitalturtle/received_events","type":"User","site_admin":false},"html_url":"https://github.com/orbitalturtle/lnd","description":"Lightning Network Daemon ⚡️","fork":true,"url":"https://api.github.com/repos/orbitalturtle/lnd","forks_url":"https://api.github.com/repos/orbitalturtle/lnd/forks","keys_url":"https://api.github.com/repos/orbitalturtle/lnd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/orbitalturtle/lnd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/orbitalturtle/lnd/teams","hooks_url":"https://api.github.com/repos/orbitalturtle/lnd/hooks","issue_events_url":"https://api.github.com/repos/orbitalturtle/lnd/issues/events{/number}","events_url":"https://api.github.com/repos/orbitalturtle/lnd/events","assignees_url":"https://api.github.com/repos/orbitalturtle/lnd/assignees{/user}","branches_url":"https://api.github.com/repos/orbitalturtle/lnd/branches{/branch}","tags_url":"https://api.github.com/repos/orbitalturtle/lnd/tags","blobs_url":"https://api.github.com/repos/orbitalturtle/lnd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/orbitalturtle/lnd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/orbitalturtle/lnd/git/refs{/sha}","trees_url":"https://api.github.com/repos/orbitalturtle/lnd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/orbitalturtle/lnd/statuses/{sha}","languages_url":"https://api.github.com/repos/orbitalturtle/lnd/languages","stargazers_url":"https://api.github.com/repos/orbitalturtle/lnd/stargazers","contributors_url":"https://api.github.com/repos/orbitalturtle/lnd/contributors","subscribers_url":"https://api.github.com/repos/orbitalturtle/lnd/subscribers","subscription_url":"https://api.github.com/repos/orbitalturtle/lnd/subscription","commits_url":"https://api.github.com/repos/orbitalturtle/lnd/commits{/sha}","git_commits_url":"https://api.github.com/repos/orbitalturtle/lnd/git/commits{/sha}","comments_url":"https://api.github.com/repos/orbitalturtle/lnd/comments{/number}","issue_comment_url":"https://api.github.com/repos/orbitalturtle/lnd/issues/comments{/number}","contents_url":"https://api.github.com/repos/orbitalturtle/lnd/contents/{+path}","compare_url":"https://api.github.com/repos/orbitalturtle/lnd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/orbitalturtle/lnd/merges","archive_url":"https://api.github.com/repos/orbitalturtle/lnd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/orbitalturtle/lnd/downloads","issues_url":"https://api.github.com/repos/orbitalturtle/lnd/issues{/number}","pulls_url":"https://api.github.com/repos/orbitalturtle/lnd/pulls{/number}","milestones_url":"https://api.github.com/repos/orbitalturtle/lnd/milestones{/number}","notifications_url":"https://api.github.com/repos/orbitalturtle/lnd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/orbitalturtle/lnd/labels{/name}","releases_url":"https://api.github.com/repos/orbitalturtle/lnd/releases{/id}","deployments_url":"https://api.github.com/repos/orbitalturtle/lnd/deployments","created_at":"2018-06-16T02:24:49Z","updated_at":"2018-09-17T06:23:49Z","pushed_at":"2018-09-30T23:48:41Z","git_url":"git://github.com/orbitalturtle/lnd.git","ssh_url":"git@github.com:orbitalturtle/lnd.git","clone_url":"https://github.com/orbitalturtle/lnd.git","svn_url":"https://github.com/orbitalturtle/lnd","homepage":"","size":20168,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"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","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"lightningnetwork:master","ref":"master","sha":"79ed4e8b600e4834f058cbf3cb8b93f5aa5ab3d4","user":{"login":"lightningnetwork","id":13424735,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzNDI0NzM1","avatar_url":"https://avatars0.githubusercontent.com/u/13424735?v=4","gravatar_id":"","url":"https://api.github.com/users/lightningnetwork","html_url":"https://github.com/lightningnetwork","followers_url":"https://api.github.com/users/lightningnetwork/followers","following_url":"https://api.github.com/users/lightningnetwork/following{/other_user}","gists_url":"https://api.github.com/users/lightningnetwork/gists{/gist_id}","starred_url":"https://api.github.com/users/lightningnetwork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lightningnetwork/subscriptions","organizations_url":"https://api.github.com/users/lightningnetwork/orgs","repos_url":"https://api.github.com/users/lightningnetwork/repos","events_url":"https://api.github.com/users/lightningnetwork/events{/privacy}","received_events_url":"https://api.github.com/users/lightningnetwork/received_events","type":"Organization","site_admin":false},"repo":{"id":49765480,"node_id":"MDEwOlJlcG9zaXRvcnk0OTc2NTQ4MA==","name":"lnd","full_name":"lightningnetwork/lnd","private":false,"owner":{"login":"lightningnetwork","id":13424735,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzNDI0NzM1","avatar_url":"https://avatars0.githubusercontent.com/u/13424735?v=4","gravatar_id":"","url":"https://api.github.com/users/lightningnetwork","html_url":"https://github.com/lightningnetwork","followers_url":"https://api.github.com/users/lightningnetwork/followers","following_url":"https://api.github.com/users/lightningnetwork/following{/other_user}","gists_url":"https://api.github.com/users/lightningnetwork/gists{/gist_id}","starred_url":"https://api.github.com/users/lightningnetwork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lightningnetwork/subscriptions","organizations_url":"https://api.github.com/users/lightningnetwork/orgs","repos_url":"https://api.github.com/users/lightningnetwork/repos","events_url":"https://api.github.com/users/lightningnetwork/events{/privacy}","received_events_url":"https://api.github.com/users/lightningnetwork/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/lightningnetwork/lnd","description":"Lightning Network Daemon ⚡️","fork":false,"url":"https://api.github.com/repos/lightningnetwork/lnd","forks_url":"https://api.github.com/repos/lightningnetwork/lnd/forks","keys_url":"https://api.github.com/repos/lightningnetwork/lnd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lightningnetwork/lnd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lightningnetwork/lnd/teams","hooks_url":"https://api.github.com/repos/lightningnetwork/lnd/hooks","issue_events_url":"https://api.github.com/repos/lightningnetwork/lnd/issues/events{/number}","events_url":"https://api.github.com/repos/lightningnetwork/lnd/events","assignees_url":"https://api.github.com/repos/lightningnetwork/lnd/assignees{/user}","branches_url":"https://api.github.com/repos/lightningnetwork/lnd/branches{/branch}","tags_url":"https://api.github.com/repos/lightningnetwork/lnd/tags","blobs_url":"https://api.github.com/repos/lightningnetwork/lnd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lightningnetwork/lnd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lightningnetwork/lnd/git/refs{/sha}","trees_url":"https://api.github.com/repos/lightningnetwork/lnd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lightningnetwork/lnd/statuses/{sha}","languages_url":"https://api.github.com/repos/lightningnetwork/lnd/languages","stargazers_url":"https://api.github.com/repos/lightningnetwork/lnd/stargazers","contributors_url":"https://api.github.com/repos/lightningnetwork/lnd/contributors","subscribers_url":"https://api.github.com/repos/lightningnetwork/lnd/subscribers","subscription_url":"https://api.github.com/repos/lightningnetwork/lnd/subscription","commits_url":"https://api.github.com/repos/lightningnetwork/lnd/commits{/sha}","git_commits_url":"https://api.github.com/repos/lightningnetwork/lnd/git/commits{/sha}","comments_url":"https://api.github.com/repos/lightningnetwork/lnd/comments{/number}","issue_comment_url":"https://api.github.com/repos/lightningnetwork/lnd/issues/comments{/number}","contents_url":"https://api.github.com/repos/lightningnetwork/lnd/contents/{+path}","compare_url":"https://api.github.com/repos/lightningnetwork/lnd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lightningnetwork/lnd/merges","archive_url":"https://api.github.com/repos/lightningnetwork/lnd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lightningnetwork/lnd/downloads","issues_url":"https://api.github.com/repos/lightningnetwork/lnd/issues{/number}","pulls_url":"https://api.github.com/repos/lightningnetwork/lnd/pulls{/number}","milestones_url":"https://api.github.com/repos/lightningnetwork/lnd/milestones{/number}","notifications_url":"https://api.github.com/repos/lightningnetwork/lnd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lightningnetwork/lnd/labels{/name}","releases_url":"https://api.github.com/repos/lightningnetwork/lnd/releases{/id}","deployments_url":"https://api.github.com/repos/lightningnetwork/lnd/deployments","created_at":"2016-01-16T08:19:33Z","updated_at":"2018-10-11T08:04:35Z","pushed_at":"2018-10-11T08:55:41Z","git_url":"git://github.com/lightningnetwork/lnd.git","ssh_url":"git@github.com:lightningnetwork/lnd.git","clone_url":"https://github.com/lightningnetwork/lnd.git","svn_url":"https://github.com/lightningnetwork/lnd","homepage":"","size":20891,"stargazers_count":3122,"watchers_count":3122,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":783,"mirror_url":null,"archived":false,"open_issues_count":283,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":783,"open_issues":283,"watchers":3122,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lightningnetwork/lnd/pulls/1998"},"html":{"href":"https://github.com/lightningnetwork/lnd/pull/1998"},"issue":{"href":"https://api.github.com/repos/lightningnetwork/lnd/issues/1998"},"comments":{"href":"https://api.github.com/repos/lightningnetwork/lnd/issues/1998/comments"},"review_comments":{"href":"https://api.github.com/repos/lightningnetwork/lnd/pulls/1998/comments"},"review_comment":{"href":"https://api.github.com/repos/lightningnetwork/lnd/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lightningnetwork/lnd/pulls/1998/commits"},"statuses":{"href":"https://api.github.com/repos/lightningnetwork/lnd/statuses/7a8321bc014d639f5cffffa8e0b36db5abbcec8c"}},"author_association":"NONE"}}
{"actor":{"display_login":"halseth"}}