{"action":"closed","number":3413,"pull_request":{"url":"https://api.github.com/repos/ethereum/go-ethereum/pulls/3413","id":97116954,"html_url":"https://github.com/ethereum/go-ethereum/pull/3413","diff_url":"https://github.com/ethereum/go-ethereum/pull/3413.diff","patch_url":"https://github.com/ethereum/go-ethereum/pull/3413.patch","issue_url":"https://api.github.com/repos/ethereum/go-ethereum/issues/3413","number":3413,"state":"closed","locked":false,"title":"les, p2p/discv5: implement server pool, improve peer selection, light fetcher and topic searching","user":{"login":"zsfelfoldi","id":9884311,"avatar_url":"https://avatars.githubusercontent.com/u/9884311?v=3","gravatar_id":"","url":"https://api.github.com/users/zsfelfoldi","html_url":"https://github.com/zsfelfoldi","followers_url":"https://api.github.com/users/zsfelfoldi/followers","following_url":"https://api.github.com/users/zsfelfoldi/following{/other_user}","gists_url":"https://api.github.com/users/zsfelfoldi/gists{/gist_id}","starred_url":"https://api.github.com/users/zsfelfoldi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zsfelfoldi/subscriptions","organizations_url":"https://api.github.com/users/zsfelfoldi/orgs","repos_url":"https://api.github.com/users/zsfelfoldi/repos","events_url":"https://api.github.com/users/zsfelfoldi/events{/privacy}","received_events_url":"https://api.github.com/users/zsfelfoldi/received_events","type":"User","site_admin":false},"body":"This PR implements les.serverPool which keeps track of known and newly discovered LES server nodes, maintains connection and service quality statistics and tries to always ensure enough active server connections. New ODR peer selection is implemented based on quality statistics, redundant odrPeerSet has been removed. Also, the light fetcher has been improved to provide block delay statistics, use the same peer selection as the ODR and implement a peerHasBlock function to be used by the ODR peer selection.","created_at":"2016-12-08T12:55:21Z","updated_at":"2016-12-12T19:46:15Z","closed_at":"2016-12-12T19:46:15Z","merged_at":"2016-12-12T19:46:15Z","merge_commit_sha":"a98e8c0889d7c4c1bded452c577bd4b9c7fa0f6b","assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/ethereum/go-ethereum/milestones/42","html_url":"https://github.com/ethereum/go-ethereum/milestone/42","labels_url":"https://api.github.com/repos/ethereum/go-ethereum/milestones/42/labels","id":2157555,"number":42,"title":"1.5.5","description":"","creator":{"login":"fjl","id":6915,"avatar_url":"https://avatars.githubusercontent.com/u/6915?v=3","gravatar_id":"","url":"https://api.github.com/users/fjl","html_url":"https://github.com/fjl","followers_url":"https://api.github.com/users/fjl/followers","following_url":"https://api.github.com/users/fjl/following{/other_user}","gists_url":"https://api.github.com/users/fjl/gists{/gist_id}","starred_url":"https://api.github.com/users/fjl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fjl/subscriptions","organizations_url":"https://api.github.com/users/fjl/orgs","repos_url":"https://api.github.com/users/fjl/repos","events_url":"https://api.github.com/users/fjl/events{/privacy}","received_events_url":"https://api.github.com/users/fjl/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":22,"state":"open","created_at":"2016-11-25T12:00:10Z","updated_at":"2016-12-12T19:46:15Z","due_on":"2016-12-14T00:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/ethereum/go-ethereum/pulls/3413/commits","review_comments_url":"https://api.github.com/repos/ethereum/go-ethereum/pulls/3413/comments","review_comment_url":"https://api.github.com/repos/ethereum/go-ethereum/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ethereum/go-ethereum/issues/3413/comments","statuses_url":"https://api.github.com/repos/ethereum/go-ethereum/statuses/f12f8a6c14dbaf6e6531cea1b0cf169b851e1894","head":{"label":"zsfelfoldi:light-topic4","ref":"light-topic4","sha":"f12f8a6c14dbaf6e6531cea1b0cf169b851e1894","user":{"login":"zsfelfoldi","id":9884311,"avatar_url":"https://avatars.githubusercontent.com/u/9884311?v=3","gravatar_id":"","url":"https://api.github.com/users/zsfelfoldi","html_url":"https://github.com/zsfelfoldi","followers_url":"https://api.github.com/users/zsfelfoldi/followers","following_url":"https://api.github.com/users/zsfelfoldi/following{/other_user}","gists_url":"https://api.github.com/users/zsfelfoldi/gists{/gist_id}","starred_url":"https://api.github.com/users/zsfelfoldi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zsfelfoldi/subscriptions","organizations_url":"https://api.github.com/users/zsfelfoldi/orgs","repos_url":"https://api.github.com/users/zsfelfoldi/repos","events_url":"https://api.github.com/users/zsfelfoldi/events{/privacy}","received_events_url":"https://api.github.com/users/zsfelfoldi/received_events","type":"User","site_admin":false},"repo":{"id":35270492,"name":"go-ethereum","full_name":"zsfelfoldi/go-ethereum","owner":{"login":"zsfelfoldi","id":9884311,"avatar_url":"https://avatars.githubusercontent.com/u/9884311?v=3","gravatar_id":"","url":"https://api.github.com/users/zsfelfoldi","html_url":"https://github.com/zsfelfoldi","followers_url":"https://api.github.com/users/zsfelfoldi/followers","following_url":"https://api.github.com/users/zsfelfoldi/following{/other_user}","gists_url":"https://api.github.com/users/zsfelfoldi/gists{/gist_id}","starred_url":"https://api.github.com/users/zsfelfoldi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zsfelfoldi/subscriptions","organizations_url":"https://api.github.com/users/zsfelfoldi/orgs","repos_url":"https://api.github.com/users/zsfelfoldi/repos","events_url":"https://api.github.com/users/zsfelfoldi/events{/privacy}","received_events_url":"https://api.github.com/users/zsfelfoldi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zsfelfoldi/go-ethereum","description":"Jeffrey Wilcke's Go implementation of the Ethereum y/w paper","fork":true,"url":"https://api.github.com/repos/zsfelfoldi/go-ethereum","forks_url":"https://api.github.com/repos/zsfelfoldi/go-ethereum/forks","keys_url":"https://api.github.com/repos/zsfelfoldi/go-ethereum/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zsfelfoldi/go-ethereum/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zsfelfoldi/go-ethereum/teams","hooks_url":"https://api.github.com/repos/zsfelfoldi/go-ethereum/hooks","issue_events_url":"https://api.github.com/repos/zsfelfoldi/go-ethereum/issues/events{/number}","events_url":"https://api.github.com/repos/zsfelfoldi/go-ethereum/events","assignees_url":"https://api.github.com/repos/zsfelfoldi/go-ethereum/assignees{/user}","branches_url":"https://api.github.com/repos/zsfelfoldi/go-ethereum/branches{/branch}","tags_url":"https://api.github.com/repos/zsfelfoldi/go-ethereum/tags","blobs_url":"https://api.github.com/repos/zsfelfoldi/go-ethereum/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zsfelfoldi/go-ethereum/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zsfelfoldi/go-ethereum/git/refs{/sha}","trees_url":"https://api.github.com/repos/zsfelfoldi/go-ethereum/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zsfelfoldi/go-ethereum/statuses/{sha}","languages_url":"https://api.github.com/repos/zsfelfoldi/go-ethereum/languages","stargazers_url":"https://api.github.com/repos/zsfelfoldi/go-ethereum/stargazers","contributors_url":"https://api.github.com/repos/zsfelfoldi/go-ethereum/contributors","subscribers_url":"https://api.github.com/repos/zsfelfoldi/go-ethereum/subscribers","subscription_url":"https://api.github.com/repos/zsfelfoldi/go-ethereum/subscription","commits_url":"https://api.github.com/repos/zsfelfoldi/go-ethereum/commits{/sha}","git_commits_url":"https://api.github.com/repos/zsfelfoldi/go-ethereum/git/commits{/sha}","comments_url":"https://api.github.com/repos/zsfelfoldi/go-ethereum/comments{/number}","issue_comment_url":"https://api.github.com/repos/zsfelfoldi/go-ethereum/issues/comments{/number}","contents_url":"https://api.github.com/repos/zsfelfoldi/go-ethereum/contents/{+path}","compare_url":"https://api.github.com/repos/zsfelfoldi/go-ethereum/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zsfelfoldi/go-ethereum/merges","archive_url":"https://api.github.com/repos/zsfelfoldi/go-ethereum/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zsfelfoldi/go-ethereum/downloads","issues_url":"https://api.github.com/repos/zsfelfoldi/go-ethereum/issues{/number}","pulls_url":"https://api.github.com/repos/zsfelfoldi/go-ethereum/pulls{/number}","milestones_url":"https://api.github.com/repos/zsfelfoldi/go-ethereum/milestones{/number}","notifications_url":"https://api.github.com/repos/zsfelfoldi/go-ethereum/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zsfelfoldi/go-ethereum/labels{/name}","releases_url":"https://api.github.com/repos/zsfelfoldi/go-ethereum/releases{/id}","deployments_url":"https://api.github.com/repos/zsfelfoldi/go-ethereum/deployments","created_at":"2015-05-08T09:23:28Z","updated_at":"2016-11-22T13:06:07Z","pushed_at":"2016-12-10T08:53:41Z","git_url":"git://github.com/zsfelfoldi/go-ethereum.git","ssh_url":"git@github.com:zsfelfoldi/go-ethereum.git","clone_url":"https://github.com/zsfelfoldi/go-ethereum.git","svn_url":"https://github.com/zsfelfoldi/go-ethereum","homepage":"","size":73920,"stargazers_count":36,"watchers_count":36,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":2,"forks":5,"open_issues":2,"watchers":36,"default_branch":"develop"}},"base":{"label":"ethereum:master","ref":"master","sha":"0fe35b907addf1c066cb4d7c717bb23f9f2e7be4","user":{"login":"ethereum","id":6250754,"avatar_url":"https://avatars.githubusercontent.com/u/6250754?v=3","gravatar_id":"","url":"https://api.github.com/users/ethereum","html_url":"https://github.com/ethereum","followers_url":"https://api.github.com/users/ethereum/followers","following_url":"https://api.github.com/users/ethereum/following{/other_user}","gists_url":"https://api.github.com/users/ethereum/gists{/gist_id}","starred_url":"https://api.github.com/users/ethereum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ethereum/subscriptions","organizations_url":"https://api.github.com/users/ethereum/orgs","repos_url":"https://api.github.com/users/ethereum/repos","events_url":"https://api.github.com/users/ethereum/events{/privacy}","received_events_url":"https://api.github.com/users/ethereum/received_events","type":"Organization","site_admin":false},"repo":{"id":15452919,"name":"go-ethereum","full_name":"ethereum/go-ethereum","owner":{"login":"ethereum","id":6250754,"avatar_url":"https://avatars.githubusercontent.com/u/6250754?v=3","gravatar_id":"","url":"https://api.github.com/users/ethereum","html_url":"https://github.com/ethereum","followers_url":"https://api.github.com/users/ethereum/followers","following_url":"https://api.github.com/users/ethereum/following{/other_user}","gists_url":"https://api.github.com/users/ethereum/gists{/gist_id}","starred_url":"https://api.github.com/users/ethereum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ethereum/subscriptions","organizations_url":"https://api.github.com/users/ethereum/orgs","repos_url":"https://api.github.com/users/ethereum/repos","events_url":"https://api.github.com/users/ethereum/events{/privacy}","received_events_url":"https://api.github.com/users/ethereum/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ethereum/go-ethereum","description":"Official Go implementation of the Ethereum protocol","fork":false,"url":"https://api.github.com/repos/ethereum/go-ethereum","forks_url":"https://api.github.com/repos/ethereum/go-ethereum/forks","keys_url":"https://api.github.com/repos/ethereum/go-ethereum/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ethereum/go-ethereum/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ethereum/go-ethereum/teams","hooks_url":"https://api.github.com/repos/ethereum/go-ethereum/hooks","issue_events_url":"https://api.github.com/repos/ethereum/go-ethereum/issues/events{/number}","events_url":"https://api.github.com/repos/ethereum/go-ethereum/events","assignees_url":"https://api.github.com/repos/ethereum/go-ethereum/assignees{/user}","branches_url":"https://api.github.com/repos/ethereum/go-ethereum/branches{/branch}","tags_url":"https://api.github.com/repos/ethereum/go-ethereum/tags","blobs_url":"https://api.github.com/repos/ethereum/go-ethereum/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ethereum/go-ethereum/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ethereum/go-ethereum/git/refs{/sha}","trees_url":"https://api.github.com/repos/ethereum/go-ethereum/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ethereum/go-ethereum/statuses/{sha}","languages_url":"https://api.github.com/repos/ethereum/go-ethereum/languages","stargazers_url":"https://api.github.com/repos/ethereum/go-ethereum/stargazers","contributors_url":"https://api.github.com/repos/ethereum/go-ethereum/contributors","subscribers_url":"https://api.github.com/repos/ethereum/go-ethereum/subscribers","subscription_url":"https://api.github.com/repos/ethereum/go-ethereum/subscription","commits_url":"https://api.github.com/repos/ethereum/go-ethereum/commits{/sha}","git_commits_url":"https://api.github.com/repos/ethereum/go-ethereum/git/commits{/sha}","comments_url":"https://api.github.com/repos/ethereum/go-ethereum/comments{/number}","issue_comment_url":"https://api.github.com/repos/ethereum/go-ethereum/issues/comments{/number}","contents_url":"https://api.github.com/repos/ethereum/go-ethereum/contents/{+path}","compare_url":"https://api.github.com/repos/ethereum/go-ethereum/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ethereum/go-ethereum/merges","archive_url":"https://api.github.com/repos/ethereum/go-ethereum/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ethereum/go-ethereum/downloads","issues_url":"https://api.github.com/repos/ethereum/go-ethereum/issues{/number}","pulls_url":"https://api.github.com/repos/ethereum/go-ethereum/pulls{/number}","milestones_url":"https://api.github.com/repos/ethereum/go-ethereum/milestones{/number}","notifications_url":"https://api.github.com/repos/ethereum/go-ethereum/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ethereum/go-ethereum/labels{/name}","releases_url":"https://api.github.com/repos/ethereum/go-ethereum/releases{/id}","deployments_url":"https://api.github.com/repos/ethereum/go-ethereum/deployments","created_at":"2013-12-26T13:05:46Z","updated_at":"2016-12-12T16:06:05Z","pushed_at":"2016-12-12T19:46:15Z","git_url":"git://github.com/ethereum/go-ethereum.git","ssh_url":"git@github.com:ethereum/go-ethereum.git","clone_url":"https://github.com/ethereum/go-ethereum.git","svn_url":"https://github.com/ethereum/go-ethereum","homepage":"https://geth.ethereum.org","size":185226,"stargazers_count":2616,"watchers_count":2616,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":893,"mirror_url":null,"open_issues_count":309,"forks":893,"open_issues":309,"watchers":2616,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ethereum/go-ethereum/pulls/3413"},"html":{"href":"https://github.com/ethereum/go-ethereum/pull/3413"},"issue":{"href":"https://api.github.com/repos/ethereum/go-ethereum/issues/3413"},"comments":{"href":"https://api.github.com/repos/ethereum/go-ethereum/issues/3413/comments"},"review_comments":{"href":"https://api.github.com/repos/ethereum/go-ethereum/pulls/3413/comments"},"review_comment":{"href":"https://api.github.com/repos/ethereum/go-ethereum/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ethereum/go-ethereum/pulls/3413/commits"},"statuses":{"href":"https://api.github.com/repos/ethereum/go-ethereum/statuses/f12f8a6c14dbaf6e6531cea1b0cf169b851e1894"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"fjl","id":6915,"avatar_url":"https://avatars.githubusercontent.com/u/6915?v=3","gravatar_id":"","url":"https://api.github.com/users/fjl","html_url":"https://github.com/fjl","followers_url":"https://api.github.com/users/fjl/followers","following_url":"https://api.github.com/users/fjl/following{/other_user}","gists_url":"https://api.github.com/users/fjl/gists{/gist_id}","starred_url":"https://api.github.com/users/fjl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fjl/subscriptions","organizations_url":"https://api.github.com/users/fjl/orgs","repos_url":"https://api.github.com/users/fjl/repos","events_url":"https://api.github.com/users/fjl/events{/privacy}","received_events_url":"https://api.github.com/users/fjl/received_events","type":"User","site_admin":false},"comments":1,"review_comments":10,"commits":7,"additions":1913,"deletions":546,"changed_files":21}}
{"actor":{"display_login":"fjl"}}