{"action":"created","comment":{"url":"https://api.github.com/repos/btcsuite/btcjson/pulls/comments/24604625","id":24604625,"diff_hunk":"@@ -151,6 +151,7 @@ type GetPeerInfoResult struct {\n \tSubVer         string  `json:\"subver\"`\n \tInbound        bool    `json:\"inbound\"`\n \tStartingHeight int32   `json:\"startingheight\"`\n+\tCurrentHeight  int32   `json:\"currentheight\"`","path":"jsonresults.go","position":4,"original_position":4,"commit_id":"73925dd2dbc48a5748ca854cc24d2411e92997a8","original_commit_id":"73925dd2dbc48a5748ca854cc24d2411e92997a8","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},"body":"I believe this needs to be `omitempty` otherwise it won't work with BC.","created_at":"2015-02-12T18:34:31Z","updated_at":"2015-02-12T18:34:31Z","html_url":"https://github.com/btcsuite/btcjson/pull/43#discussion_r24604625","pull_request_url":"https://api.github.com/repos/btcsuite/btcjson/pulls/43","_links":{"self":{"href":"https://api.github.com/repos/btcsuite/btcjson/pulls/comments/24604625"},"html":{"href":"https://github.com/btcsuite/btcjson/pull/43#discussion_r24604625"},"pull_request":{"href":"https://api.github.com/repos/btcsuite/btcjson/pulls/43"}}},"pull_request":{"url":"https://api.github.com/repos/btcsuite/btcjson/pulls/43","id":29127049,"html_url":"https://github.com/btcsuite/btcjson/pull/43","diff_url":"https://github.com/btcsuite/btcjson/pull/43.diff","patch_url":"https://github.com/btcsuite/btcjson/pull/43.patch","issue_url":"https://api.github.com/repos/btcsuite/btcjson/issues/43","number":43,"state":"open","locked":false,"title":"Extend getpeerinfo result with current block height.","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},"body":"Related to: btcsuite/btcd#296","created_at":"2015-02-11T20:49:48Z","updated_at":"2015-02-12T18:34:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5aef774ae1ce9f61083293651a2cd42370118b42","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/btcsuite/btcjson/pulls/43/commits","review_comments_url":"https://api.github.com/repos/btcsuite/btcjson/pulls/43/comments","review_comment_url":"https://api.github.com/repos/btcsuite/btcjson/pulls/comments/{number}","comments_url":"https://api.github.com/repos/btcsuite/btcjson/issues/43/comments","statuses_url":"https://api.github.com/repos/btcsuite/btcjson/statuses/73925dd2dbc48a5748ca854cc24d2411e92997a8","head":{"label":"Roasbeef:peer-starting-height","ref":"peer-starting-height","sha":"73925dd2dbc48a5748ca854cc24d2411e92997a8","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},"repo":{"id":21546125,"name":"btcjson","full_name":"Roasbeef/btcjson","owner":{"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},"private":false,"html_url":"https://github.com/Roasbeef/btcjson","description":" Implements the bitcoin JSON-RPC API - a package from btcd","fork":true,"url":"https://api.github.com/repos/Roasbeef/btcjson","forks_url":"https://api.github.com/repos/Roasbeef/btcjson/forks","keys_url":"https://api.github.com/repos/Roasbeef/btcjson/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Roasbeef/btcjson/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Roasbeef/btcjson/teams","hooks_url":"https://api.github.com/repos/Roasbeef/btcjson/hooks","issue_events_url":"https://api.github.com/repos/Roasbeef/btcjson/issues/events{/number}","events_url":"https://api.github.com/repos/Roasbeef/btcjson/events","assignees_url":"https://api.github.com/repos/Roasbeef/btcjson/assignees{/user}","branches_url":"https://api.github.com/repos/Roasbeef/btcjson/branches{/branch}","tags_url":"https://api.github.com/repos/Roasbeef/btcjson/tags","blobs_url":"https://api.github.com/repos/Roasbeef/btcjson/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Roasbeef/btcjson/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Roasbeef/btcjson/git/refs{/sha}","trees_url":"https://api.github.com/repos/Roasbeef/btcjson/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Roasbeef/btcjson/statuses/{sha}","languages_url":"https://api.github.com/repos/Roasbeef/btcjson/languages","stargazers_url":"https://api.github.com/repos/Roasbeef/btcjson/stargazers","contributors_url":"https://api.github.com/repos/Roasbeef/btcjson/contributors","subscribers_url":"https://api.github.com/repos/Roasbeef/btcjson/subscribers","subscription_url":"https://api.github.com/repos/Roasbeef/btcjson/subscription","commits_url":"https://api.github.com/repos/Roasbeef/btcjson/commits{/sha}","git_commits_url":"https://api.github.com/repos/Roasbeef/btcjson/git/commits{/sha}","comments_url":"https://api.github.com/repos/Roasbeef/btcjson/comments{/number}","issue_comment_url":"https://api.github.com/repos/Roasbeef/btcjson/issues/comments/{number}","contents_url":"https://api.github.com/repos/Roasbeef/btcjson/contents/{+path}","compare_url":"https://api.github.com/repos/Roasbeef/btcjson/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Roasbeef/btcjson/merges","archive_url":"https://api.github.com/repos/Roasbeef/btcjson/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Roasbeef/btcjson/downloads","issues_url":"https://api.github.com/repos/Roasbeef/btcjson/issues{/number}","pulls_url":"https://api.github.com/repos/Roasbeef/btcjson/pulls{/number}","milestones_url":"https://api.github.com/repos/Roasbeef/btcjson/milestones{/number}","notifications_url":"https://api.github.com/repos/Roasbeef/btcjson/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Roasbeef/btcjson/labels{/name}","releases_url":"https://api.github.com/repos/Roasbeef/btcjson/releases{/id}","created_at":"2014-07-06T18:43:06Z","updated_at":"2014-07-06T18:51:20Z","pushed_at":"2015-02-11T20:39:54Z","git_url":"git://github.com/Roasbeef/btcjson.git","ssh_url":"git@github.com:Roasbeef/btcjson.git","clone_url":"https://github.com/Roasbeef/btcjson.git","svn_url":"https://github.com/Roasbeef/btcjson","homepage":null,"size":797,"stargazers_count":0,"watchers_count":0,"language":"Go","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":"btcsuite:master","ref":"master","sha":"78e2c8401beca63ebec3c708b65e50fc2d27b589","user":{"login":"btcsuite","id":10235229,"avatar_url":"https://avatars.githubusercontent.com/u/10235229?v=3","gravatar_id":"","url":"https://api.github.com/users/btcsuite","html_url":"https://github.com/btcsuite","followers_url":"https://api.github.com/users/btcsuite/followers","following_url":"https://api.github.com/users/btcsuite/following{/other_user}","gists_url":"https://api.github.com/users/btcsuite/gists{/gist_id}","starred_url":"https://api.github.com/users/btcsuite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/btcsuite/subscriptions","organizations_url":"https://api.github.com/users/btcsuite/orgs","repos_url":"https://api.github.com/users/btcsuite/repos","events_url":"https://api.github.com/users/btcsuite/events{/privacy}","received_events_url":"https://api.github.com/users/btcsuite/received_events","type":"Organization","site_admin":false},"repo":{"id":10035520,"name":"btcjson","full_name":"btcsuite/btcjson","owner":{"login":"btcsuite","id":10235229,"avatar_url":"https://avatars.githubusercontent.com/u/10235229?v=3","gravatar_id":"","url":"https://api.github.com/users/btcsuite","html_url":"https://github.com/btcsuite","followers_url":"https://api.github.com/users/btcsuite/followers","following_url":"https://api.github.com/users/btcsuite/following{/other_user}","gists_url":"https://api.github.com/users/btcsuite/gists{/gist_id}","starred_url":"https://api.github.com/users/btcsuite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/btcsuite/subscriptions","organizations_url":"https://api.github.com/users/btcsuite/orgs","repos_url":"https://api.github.com/users/btcsuite/repos","events_url":"https://api.github.com/users/btcsuite/events{/privacy}","received_events_url":"https://api.github.com/users/btcsuite/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/btcsuite/btcjson","description":" Implements the bitcoin JSON-RPC API - a package from btcd","fork":false,"url":"https://api.github.com/repos/btcsuite/btcjson","forks_url":"https://api.github.com/repos/btcsuite/btcjson/forks","keys_url":"https://api.github.com/repos/btcsuite/btcjson/keys{/key_id}","collaborators_url":"https://api.github.com/repos/btcsuite/btcjson/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/btcsuite/btcjson/teams","hooks_url":"https://api.github.com/repos/btcsuite/btcjson/hooks","issue_events_url":"https://api.github.com/repos/btcsuite/btcjson/issues/events{/number}","events_url":"https://api.github.com/repos/btcsuite/btcjson/events","assignees_url":"https://api.github.com/repos/btcsuite/btcjson/assignees{/user}","branches_url":"https://api.github.com/repos/btcsuite/btcjson/branches{/branch}","tags_url":"https://api.github.com/repos/btcsuite/btcjson/tags","blobs_url":"https://api.github.com/repos/btcsuite/btcjson/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/btcsuite/btcjson/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/btcsuite/btcjson/git/refs{/sha}","trees_url":"https://api.github.com/repos/btcsuite/btcjson/git/trees{/sha}","statuses_url":"https://api.github.com/repos/btcsuite/btcjson/statuses/{sha}","languages_url":"https://api.github.com/repos/btcsuite/btcjson/languages","stargazers_url":"https://api.github.com/repos/btcsuite/btcjson/stargazers","contributors_url":"https://api.github.com/repos/btcsuite/btcjson/contributors","subscribers_url":"https://api.github.com/repos/btcsuite/btcjson/subscribers","subscription_url":"https://api.github.com/repos/btcsuite/btcjson/subscription","commits_url":"https://api.github.com/repos/btcsuite/btcjson/commits{/sha}","git_commits_url":"https://api.github.com/repos/btcsuite/btcjson/git/commits{/sha}","comments_url":"https://api.github.com/repos/btcsuite/btcjson/comments{/number}","issue_comment_url":"https://api.github.com/repos/btcsuite/btcjson/issues/comments/{number}","contents_url":"https://api.github.com/repos/btcsuite/btcjson/contents/{+path}","compare_url":"https://api.github.com/repos/btcsuite/btcjson/compare/{base}...{head}","merges_url":"https://api.github.com/repos/btcsuite/btcjson/merges","archive_url":"https://api.github.com/repos/btcsuite/btcjson/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/btcsuite/btcjson/downloads","issues_url":"https://api.github.com/repos/btcsuite/btcjson/issues{/number}","pulls_url":"https://api.github.com/repos/btcsuite/btcjson/pulls{/number}","milestones_url":"https://api.github.com/repos/btcsuite/btcjson/milestones{/number}","notifications_url":"https://api.github.com/repos/btcsuite/btcjson/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/btcsuite/btcjson/labels{/name}","releases_url":"https://api.github.com/repos/btcsuite/btcjson/releases{/id}","created_at":"2013-05-13T16:05:01Z","updated_at":"2015-02-07T05:40:54Z","pushed_at":"2015-02-07T05:40:53Z","git_url":"git://github.com/btcsuite/btcjson.git","ssh_url":"git@github.com:btcsuite/btcjson.git","clone_url":"https://github.com/btcsuite/btcjson.git","svn_url":"https://github.com/btcsuite/btcjson","homepage":null,"size":1943,"stargazers_count":59,"watchers_count":59,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":30,"mirror_url":null,"open_issues_count":5,"forks":30,"open_issues":5,"watchers":59,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/btcsuite/btcjson/pulls/43"},"html":{"href":"https://github.com/btcsuite/btcjson/pull/43"},"issue":{"href":"https://api.github.com/repos/btcsuite/btcjson/issues/43"},"comments":{"href":"https://api.github.com/repos/btcsuite/btcjson/issues/43/comments"},"review_comments":{"href":"https://api.github.com/repos/btcsuite/btcjson/pulls/43/comments"},"review_comment":{"href":"https://api.github.com/repos/btcsuite/btcjson/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/btcsuite/btcjson/pulls/43/commits"},"statuses":{"href":"https://api.github.com/repos/btcsuite/btcjson/statuses/73925dd2dbc48a5748ca854cc24d2411e92997a8"}}}}