{"action":"closed","number":4,"pull_request":{"url":"https://api.github.com/repos/libp2p/go-libp2p-circuit/pulls/4","id":132020526,"html_url":"https://github.com/libp2p/go-libp2p-circuit/pull/4","diff_url":"https://github.com/libp2p/go-libp2p-circuit/pull/4.diff","patch_url":"https://github.com/libp2p/go-libp2p-circuit/pull/4.patch","issue_url":"https://api.github.com/repos/libp2p/go-libp2p-circuit/issues/4","number":4,"state":"closed","locked":false,"title":"Relay Discovery and unspecific address dialing","user":{"login":"vyzo","id":36426,"avatar_url":"https://avatars0.githubusercontent.com/u/36426?v=4","gravatar_id":"","url":"https://api.github.com/users/vyzo","html_url":"https://github.com/vyzo","followers_url":"https://api.github.com/users/vyzo/followers","following_url":"https://api.github.com/users/vyzo/following{/other_user}","gists_url":"https://api.github.com/users/vyzo/gists{/gist_id}","starred_url":"https://api.github.com/users/vyzo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vyzo/subscriptions","organizations_url":"https://api.github.com/users/vyzo/orgs","repos_url":"https://api.github.com/users/vyzo/repos","events_url":"https://api.github.com/users/vyzo/events{/privacy}","received_events_url":"https://api.github.com/users/vyzo/received_events","type":"User","site_admin":false},"body":"Implements passive relay discovery and unspecific relay address dialing, as discussed in https://github.com/libp2p/go-libp2p/issues/209. \r\n\r\nImplementation Notes:\r\n- Relay discovery is implemented through a Notifee, which tests CanHop for all new connections and tracks a list of known hop relays.\r\n- Unspecific address dialing is implemented by iterating through the list of known relays and attempting to dial through them; if none of the connection attempts succeed it fails with a RelayError.","created_at":"2017-07-24T10:42:49Z","updated_at":"2017-07-25T07:35:46Z","closed_at":"2017-07-25T07:35:45Z","merged_at":"2017-07-25T07:35:45Z","merge_commit_sha":"139840fe0b775686db5c588d51cc54e0afa50601","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/libp2p/go-libp2p-circuit/pulls/4/commits","review_comments_url":"https://api.github.com/repos/libp2p/go-libp2p-circuit/pulls/4/comments","review_comment_url":"https://api.github.com/repos/libp2p/go-libp2p-circuit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/libp2p/go-libp2p-circuit/issues/4/comments","statuses_url":"https://api.github.com/repos/libp2p/go-libp2p-circuit/statuses/a364d0349636dc42a1b6fea5baa24ada808b6560","head":{"label":"libp2p:feat/relay-discovery","ref":"feat/relay-discovery","sha":"a364d0349636dc42a1b6fea5baa24ada808b6560","user":{"login":"libp2p","id":14838238,"avatar_url":"https://avatars3.githubusercontent.com/u/14838238?v=4","gravatar_id":"","url":"https://api.github.com/users/libp2p","html_url":"https://github.com/libp2p","followers_url":"https://api.github.com/users/libp2p/followers","following_url":"https://api.github.com/users/libp2p/following{/other_user}","gists_url":"https://api.github.com/users/libp2p/gists{/gist_id}","starred_url":"https://api.github.com/users/libp2p/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/libp2p/subscriptions","organizations_url":"https://api.github.com/users/libp2p/orgs","repos_url":"https://api.github.com/users/libp2p/repos","events_url":"https://api.github.com/users/libp2p/events{/privacy}","received_events_url":"https://api.github.com/users/libp2p/received_events","type":"Organization","site_admin":false},"repo":{"id":79306601,"name":"go-libp2p-circuit","full_name":"libp2p/go-libp2p-circuit","owner":{"login":"libp2p","id":14838238,"avatar_url":"https://avatars3.githubusercontent.com/u/14838238?v=4","gravatar_id":"","url":"https://api.github.com/users/libp2p","html_url":"https://github.com/libp2p","followers_url":"https://api.github.com/users/libp2p/followers","following_url":"https://api.github.com/users/libp2p/following{/other_user}","gists_url":"https://api.github.com/users/libp2p/gists{/gist_id}","starred_url":"https://api.github.com/users/libp2p/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/libp2p/subscriptions","organizations_url":"https://api.github.com/users/libp2p/orgs","repos_url":"https://api.github.com/users/libp2p/repos","events_url":"https://api.github.com/users/libp2p/events{/privacy}","received_events_url":"https://api.github.com/users/libp2p/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/libp2p/go-libp2p-circuit","description":"Circuit Switching for libp2p","fork":false,"url":"https://api.github.com/repos/libp2p/go-libp2p-circuit","forks_url":"https://api.github.com/repos/libp2p/go-libp2p-circuit/forks","keys_url":"https://api.github.com/repos/libp2p/go-libp2p-circuit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/libp2p/go-libp2p-circuit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/libp2p/go-libp2p-circuit/teams","hooks_url":"https://api.github.com/repos/libp2p/go-libp2p-circuit/hooks","issue_events_url":"https://api.github.com/repos/libp2p/go-libp2p-circuit/issues/events{/number}","events_url":"https://api.github.com/repos/libp2p/go-libp2p-circuit/events","assignees_url":"https://api.github.com/repos/libp2p/go-libp2p-circuit/assignees{/user}","branches_url":"https://api.github.com/repos/libp2p/go-libp2p-circuit/branches{/branch}","tags_url":"https://api.github.com/repos/libp2p/go-libp2p-circuit/tags","blobs_url":"https://api.github.com/repos/libp2p/go-libp2p-circuit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/libp2p/go-libp2p-circuit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/libp2p/go-libp2p-circuit/git/refs{/sha}","trees_url":"https://api.github.com/repos/libp2p/go-libp2p-circuit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/libp2p/go-libp2p-circuit/statuses/{sha}","languages_url":"https://api.github.com/repos/libp2p/go-libp2p-circuit/languages","stargazers_url":"https://api.github.com/repos/libp2p/go-libp2p-circuit/stargazers","contributors_url":"https://api.github.com/repos/libp2p/go-libp2p-circuit/contributors","subscribers_url":"https://api.github.com/repos/libp2p/go-libp2p-circuit/subscribers","subscription_url":"https://api.github.com/repos/libp2p/go-libp2p-circuit/subscription","commits_url":"https://api.github.com/repos/libp2p/go-libp2p-circuit/commits{/sha}","git_commits_url":"https://api.github.com/repos/libp2p/go-libp2p-circuit/git/commits{/sha}","comments_url":"https://api.github.com/repos/libp2p/go-libp2p-circuit/comments{/number}","issue_comment_url":"https://api.github.com/repos/libp2p/go-libp2p-circuit/issues/comments{/number}","contents_url":"https://api.github.com/repos/libp2p/go-libp2p-circuit/contents/{+path}","compare_url":"https://api.github.com/repos/libp2p/go-libp2p-circuit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/libp2p/go-libp2p-circuit/merges","archive_url":"https://api.github.com/repos/libp2p/go-libp2p-circuit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/libp2p/go-libp2p-circuit/downloads","issues_url":"https://api.github.com/repos/libp2p/go-libp2p-circuit/issues{/number}","pulls_url":"https://api.github.com/repos/libp2p/go-libp2p-circuit/pulls{/number}","milestones_url":"https://api.github.com/repos/libp2p/go-libp2p-circuit/milestones{/number}","notifications_url":"https://api.github.com/repos/libp2p/go-libp2p-circuit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/libp2p/go-libp2p-circuit/labels{/name}","releases_url":"https://api.github.com/repos/libp2p/go-libp2p-circuit/releases{/id}","deployments_url":"https://api.github.com/repos/libp2p/go-libp2p-circuit/deployments","created_at":"2017-01-18T05:26:21Z","updated_at":"2017-04-11T10:59:09Z","pushed_at":"2017-07-25T07:35:45Z","git_url":"git://github.com/libp2p/go-libp2p-circuit.git","ssh_url":"git@github.com:libp2p/go-libp2p-circuit.git","clone_url":"https://github.com/libp2p/go-libp2p-circuit.git","svn_url":"https://github.com/libp2p/go-libp2p-circuit","homepage":null,"size":41,"stargazers_count":1,"watchers_count":1,"language":"Go","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"libp2p:master","ref":"master","sha":"29b7e5667e9e3bc1767e04466768c28759414c7f","user":{"login":"libp2p","id":14838238,"avatar_url":"https://avatars3.githubusercontent.com/u/14838238?v=4","gravatar_id":"","url":"https://api.github.com/users/libp2p","html_url":"https://github.com/libp2p","followers_url":"https://api.github.com/users/libp2p/followers","following_url":"https://api.github.com/users/libp2p/following{/other_user}","gists_url":"https://api.github.com/users/libp2p/gists{/gist_id}","starred_url":"https://api.github.com/users/libp2p/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/libp2p/subscriptions","organizations_url":"https://api.github.com/users/libp2p/orgs","repos_url":"https://api.github.com/users/libp2p/repos","events_url":"https://api.github.com/users/libp2p/events{/privacy}","received_events_url":"https://api.github.com/users/libp2p/received_events","type":"Organization","site_admin":false},"repo":{"id":79306601,"name":"go-libp2p-circuit","full_name":"libp2p/go-libp2p-circuit","owner":{"login":"libp2p","id":14838238,"avatar_url":"https://avatars3.githubusercontent.com/u/14838238?v=4","gravatar_id":"","url":"https://api.github.com/users/libp2p","html_url":"https://github.com/libp2p","followers_url":"https://api.github.com/users/libp2p/followers","following_url":"https://api.github.com/users/libp2p/following{/other_user}","gists_url":"https://api.github.com/users/libp2p/gists{/gist_id}","starred_url":"https://api.github.com/users/libp2p/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/libp2p/subscriptions","organizations_url":"https://api.github.com/users/libp2p/orgs","repos_url":"https://api.github.com/users/libp2p/repos","events_url":"https://api.github.com/users/libp2p/events{/privacy}","received_events_url":"https://api.github.com/users/libp2p/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/libp2p/go-libp2p-circuit","description":"Circuit Switching for libp2p","fork":false,"url":"https://api.github.com/repos/libp2p/go-libp2p-circuit","forks_url":"https://api.github.com/repos/libp2p/go-libp2p-circuit/forks","keys_url":"https://api.github.com/repos/libp2p/go-libp2p-circuit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/libp2p/go-libp2p-circuit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/libp2p/go-libp2p-circuit/teams","hooks_url":"https://api.github.com/repos/libp2p/go-libp2p-circuit/hooks","issue_events_url":"https://api.github.com/repos/libp2p/go-libp2p-circuit/issues/events{/number}","events_url":"https://api.github.com/repos/libp2p/go-libp2p-circuit/events","assignees_url":"https://api.github.com/repos/libp2p/go-libp2p-circuit/assignees{/user}","branches_url":"https://api.github.com/repos/libp2p/go-libp2p-circuit/branches{/branch}","tags_url":"https://api.github.com/repos/libp2p/go-libp2p-circuit/tags","blobs_url":"https://api.github.com/repos/libp2p/go-libp2p-circuit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/libp2p/go-libp2p-circuit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/libp2p/go-libp2p-circuit/git/refs{/sha}","trees_url":"https://api.github.com/repos/libp2p/go-libp2p-circuit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/libp2p/go-libp2p-circuit/statuses/{sha}","languages_url":"https://api.github.com/repos/libp2p/go-libp2p-circuit/languages","stargazers_url":"https://api.github.com/repos/libp2p/go-libp2p-circuit/stargazers","contributors_url":"https://api.github.com/repos/libp2p/go-libp2p-circuit/contributors","subscribers_url":"https://api.github.com/repos/libp2p/go-libp2p-circuit/subscribers","subscription_url":"https://api.github.com/repos/libp2p/go-libp2p-circuit/subscription","commits_url":"https://api.github.com/repos/libp2p/go-libp2p-circuit/commits{/sha}","git_commits_url":"https://api.github.com/repos/libp2p/go-libp2p-circuit/git/commits{/sha}","comments_url":"https://api.github.com/repos/libp2p/go-libp2p-circuit/comments{/number}","issue_comment_url":"https://api.github.com/repos/libp2p/go-libp2p-circuit/issues/comments{/number}","contents_url":"https://api.github.com/repos/libp2p/go-libp2p-circuit/contents/{+path}","compare_url":"https://api.github.com/repos/libp2p/go-libp2p-circuit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/libp2p/go-libp2p-circuit/merges","archive_url":"https://api.github.com/repos/libp2p/go-libp2p-circuit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/libp2p/go-libp2p-circuit/downloads","issues_url":"https://api.github.com/repos/libp2p/go-libp2p-circuit/issues{/number}","pulls_url":"https://api.github.com/repos/libp2p/go-libp2p-circuit/pulls{/number}","milestones_url":"https://api.github.com/repos/libp2p/go-libp2p-circuit/milestones{/number}","notifications_url":"https://api.github.com/repos/libp2p/go-libp2p-circuit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/libp2p/go-libp2p-circuit/labels{/name}","releases_url":"https://api.github.com/repos/libp2p/go-libp2p-circuit/releases{/id}","deployments_url":"https://api.github.com/repos/libp2p/go-libp2p-circuit/deployments","created_at":"2017-01-18T05:26:21Z","updated_at":"2017-04-11T10:59:09Z","pushed_at":"2017-07-25T07:35:45Z","git_url":"git://github.com/libp2p/go-libp2p-circuit.git","ssh_url":"git@github.com:libp2p/go-libp2p-circuit.git","clone_url":"https://github.com/libp2p/go-libp2p-circuit.git","svn_url":"https://github.com/libp2p/go-libp2p-circuit","homepage":null,"size":41,"stargazers_count":1,"watchers_count":1,"language":"Go","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/libp2p/go-libp2p-circuit/pulls/4"},"html":{"href":"https://github.com/libp2p/go-libp2p-circuit/pull/4"},"issue":{"href":"https://api.github.com/repos/libp2p/go-libp2p-circuit/issues/4"},"comments":{"href":"https://api.github.com/repos/libp2p/go-libp2p-circuit/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/libp2p/go-libp2p-circuit/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/libp2p/go-libp2p-circuit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/libp2p/go-libp2p-circuit/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/libp2p/go-libp2p-circuit/statuses/a364d0349636dc42a1b6fea5baa24ada808b6560"}},"merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"vyzo","id":36426,"avatar_url":"https://avatars0.githubusercontent.com/u/36426?v=4","gravatar_id":"","url":"https://api.github.com/users/vyzo","html_url":"https://github.com/vyzo","followers_url":"https://api.github.com/users/vyzo/followers","following_url":"https://api.github.com/users/vyzo/following{/other_user}","gists_url":"https://api.github.com/users/vyzo/gists{/gist_id}","starred_url":"https://api.github.com/users/vyzo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vyzo/subscriptions","organizations_url":"https://api.github.com/users/vyzo/orgs","repos_url":"https://api.github.com/users/vyzo/repos","events_url":"https://api.github.com/users/vyzo/events{/privacy}","received_events_url":"https://api.github.com/users/vyzo/received_events","type":"User","site_admin":false},"comments":2,"review_comments":2,"maintainer_can_modify":false,"commits":7,"additions":326,"deletions":15,"changed_files":6}}
{"actor":{"display_login":"vyzo"}}