{"action":"created","comment":{"url":"https://api.github.com/repos/ipfs/go-libp2p/pulls/comments/72409785","id":72409785,"diff_hunk":"@@ -86,7 +86,7 @@ func (d *Dialer) Dial(ctx context.Context, raddr ma.Multiaddr, remote peer.ID) (\n \t\t\treturn\n \t\t}\n \n-\t\tif d.PrivateKey == nil || EncryptConnections == false {\n+\t\tif d.PrivateKey == nil || !EncryptConnections {","path":"p2p/net/conn/dial.go","position":5,"original_position":5,"commit_id":"5c8093b073a8cd31fd11ebeb146fa0b922f975c8","original_commit_id":"5c8093b073a8cd31fd11ebeb146fa0b922f975c8","user":{"login":"John-Steidley","id":3661210,"avatar_url":"https://avatars.githubusercontent.com/u/3661210?v=3","gravatar_id":"","url":"https://api.github.com/users/John-Steidley","html_url":"https://github.com/John-Steidley","followers_url":"https://api.github.com/users/John-Steidley/followers","following_url":"https://api.github.com/users/John-Steidley/following{/other_user}","gists_url":"https://api.github.com/users/John-Steidley/gists{/gist_id}","starred_url":"https://api.github.com/users/John-Steidley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/John-Steidley/subscriptions","organizations_url":"https://api.github.com/users/John-Steidley/orgs","repos_url":"https://api.github.com/users/John-Steidley/repos","events_url":"https://api.github.com/users/John-Steidley/events{/privacy}","received_events_url":"https://api.github.com/users/John-Steidley/received_events","type":"User","site_admin":false},"body":"This is the only open question in my mind, why style do you prefer?","created_at":"2016-07-27T09:39:46Z","updated_at":"2016-07-27T09:39:46Z","html_url":"https://github.com/ipfs/go-libp2p/pull/77#discussion_r72409785","pull_request_url":"https://api.github.com/repos/ipfs/go-libp2p/pulls/77","_links":{"self":{"href":"https://api.github.com/repos/ipfs/go-libp2p/pulls/comments/72409785"},"html":{"href":"https://github.com/ipfs/go-libp2p/pull/77#discussion_r72409785"},"pull_request":{"href":"https://api.github.com/repos/ipfs/go-libp2p/pulls/77"}}},"pull_request":{"url":"https://api.github.com/repos/ipfs/go-libp2p/pulls/77","id":78993501,"html_url":"https://github.com/ipfs/go-libp2p/pull/77","diff_url":"https://github.com/ipfs/go-libp2p/pull/77.diff","patch_url":"https://github.com/ipfs/go-libp2p/pull/77.patch","issue_url":"https://api.github.com/repos/ipfs/go-libp2p/issues/77","number":77,"state":"open","locked":false,"title":"Ran gosimple (github.com/dominikh/go-simple) on go-libp2p","user":{"login":"John-Steidley","id":3661210,"avatar_url":"https://avatars.githubusercontent.com/u/3661210?v=3","gravatar_id":"","url":"https://api.github.com/users/John-Steidley","html_url":"https://github.com/John-Steidley","followers_url":"https://api.github.com/users/John-Steidley/followers","following_url":"https://api.github.com/users/John-Steidley/following{/other_user}","gists_url":"https://api.github.com/users/John-Steidley/gists{/gist_id}","starred_url":"https://api.github.com/users/John-Steidley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/John-Steidley/subscriptions","organizations_url":"https://api.github.com/users/John-Steidley/orgs","repos_url":"https://api.github.com/users/John-Steidley/repos","events_url":"https://api.github.com/users/John-Steidley/events{/privacy}","received_events_url":"https://api.github.com/users/John-Steidley/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-07-27T09:37:28Z","updated_at":"2016-07-27T09:39:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8a9f84e4971feb047e1f7d161864b712fab3296b","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/ipfs/go-libp2p/pulls/77/commits","review_comments_url":"https://api.github.com/repos/ipfs/go-libp2p/pulls/77/comments","review_comment_url":"https://api.github.com/repos/ipfs/go-libp2p/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ipfs/go-libp2p/issues/77/comments","statuses_url":"https://api.github.com/repos/ipfs/go-libp2p/statuses/5c8093b073a8cd31fd11ebeb146fa0b922f975c8","head":{"label":"John-Steidley:gosimple","ref":"gosimple","sha":"5c8093b073a8cd31fd11ebeb146fa0b922f975c8","user":{"login":"John-Steidley","id":3661210,"avatar_url":"https://avatars.githubusercontent.com/u/3661210?v=3","gravatar_id":"","url":"https://api.github.com/users/John-Steidley","html_url":"https://github.com/John-Steidley","followers_url":"https://api.github.com/users/John-Steidley/followers","following_url":"https://api.github.com/users/John-Steidley/following{/other_user}","gists_url":"https://api.github.com/users/John-Steidley/gists{/gist_id}","starred_url":"https://api.github.com/users/John-Steidley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/John-Steidley/subscriptions","organizations_url":"https://api.github.com/users/John-Steidley/orgs","repos_url":"https://api.github.com/users/John-Steidley/repos","events_url":"https://api.github.com/users/John-Steidley/events{/privacy}","received_events_url":"https://api.github.com/users/John-Steidley/received_events","type":"User","site_admin":false},"repo":{"id":64296091,"name":"go-libp2p","full_name":"John-Steidley/go-libp2p","owner":{"login":"John-Steidley","id":3661210,"avatar_url":"https://avatars.githubusercontent.com/u/3661210?v=3","gravatar_id":"","url":"https://api.github.com/users/John-Steidley","html_url":"https://github.com/John-Steidley","followers_url":"https://api.github.com/users/John-Steidley/followers","following_url":"https://api.github.com/users/John-Steidley/following{/other_user}","gists_url":"https://api.github.com/users/John-Steidley/gists{/gist_id}","starred_url":"https://api.github.com/users/John-Steidley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/John-Steidley/subscriptions","organizations_url":"https://api.github.com/users/John-Steidley/orgs","repos_url":"https://api.github.com/users/John-Steidley/repos","events_url":"https://api.github.com/users/John-Steidley/events{/privacy}","received_events_url":"https://api.github.com/users/John-Steidley/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/John-Steidley/go-libp2p","description":"libp2p implementation in Go","fork":true,"url":"https://api.github.com/repos/John-Steidley/go-libp2p","forks_url":"https://api.github.com/repos/John-Steidley/go-libp2p/forks","keys_url":"https://api.github.com/repos/John-Steidley/go-libp2p/keys{/key_id}","collaborators_url":"https://api.github.com/repos/John-Steidley/go-libp2p/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/John-Steidley/go-libp2p/teams","hooks_url":"https://api.github.com/repos/John-Steidley/go-libp2p/hooks","issue_events_url":"https://api.github.com/repos/John-Steidley/go-libp2p/issues/events{/number}","events_url":"https://api.github.com/repos/John-Steidley/go-libp2p/events","assignees_url":"https://api.github.com/repos/John-Steidley/go-libp2p/assignees{/user}","branches_url":"https://api.github.com/repos/John-Steidley/go-libp2p/branches{/branch}","tags_url":"https://api.github.com/repos/John-Steidley/go-libp2p/tags","blobs_url":"https://api.github.com/repos/John-Steidley/go-libp2p/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/John-Steidley/go-libp2p/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/John-Steidley/go-libp2p/git/refs{/sha}","trees_url":"https://api.github.com/repos/John-Steidley/go-libp2p/git/trees{/sha}","statuses_url":"https://api.github.com/repos/John-Steidley/go-libp2p/statuses/{sha}","languages_url":"https://api.github.com/repos/John-Steidley/go-libp2p/languages","stargazers_url":"https://api.github.com/repos/John-Steidley/go-libp2p/stargazers","contributors_url":"https://api.github.com/repos/John-Steidley/go-libp2p/contributors","subscribers_url":"https://api.github.com/repos/John-Steidley/go-libp2p/subscribers","subscription_url":"https://api.github.com/repos/John-Steidley/go-libp2p/subscription","commits_url":"https://api.github.com/repos/John-Steidley/go-libp2p/commits{/sha}","git_commits_url":"https://api.github.com/repos/John-Steidley/go-libp2p/git/commits{/sha}","comments_url":"https://api.github.com/repos/John-Steidley/go-libp2p/comments{/number}","issue_comment_url":"https://api.github.com/repos/John-Steidley/go-libp2p/issues/comments{/number}","contents_url":"https://api.github.com/repos/John-Steidley/go-libp2p/contents/{+path}","compare_url":"https://api.github.com/repos/John-Steidley/go-libp2p/compare/{base}...{head}","merges_url":"https://api.github.com/repos/John-Steidley/go-libp2p/merges","archive_url":"https://api.github.com/repos/John-Steidley/go-libp2p/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/John-Steidley/go-libp2p/downloads","issues_url":"https://api.github.com/repos/John-Steidley/go-libp2p/issues{/number}","pulls_url":"https://api.github.com/repos/John-Steidley/go-libp2p/pulls{/number}","milestones_url":"https://api.github.com/repos/John-Steidley/go-libp2p/milestones{/number}","notifications_url":"https://api.github.com/repos/John-Steidley/go-libp2p/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/John-Steidley/go-libp2p/labels{/name}","releases_url":"https://api.github.com/repos/John-Steidley/go-libp2p/releases{/id}","deployments_url":"https://api.github.com/repos/John-Steidley/go-libp2p/deployments","created_at":"2016-07-27T09:35:14Z","updated_at":"2016-07-27T09:35:15Z","pushed_at":"2016-07-27T09:37:11Z","git_url":"git://github.com/John-Steidley/go-libp2p.git","ssh_url":"git@github.com:John-Steidley/go-libp2p.git","clone_url":"https://github.com/John-Steidley/go-libp2p.git","svn_url":"https://github.com/John-Steidley/go-libp2p","homepage":"","size":7596,"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":"ipfs:master","ref":"master","sha":"b32016eb3f0ba1ebad00bd7e8f7261630cb0d68f","user":{"login":"ipfs","id":10536621,"avatar_url":"https://avatars.githubusercontent.com/u/10536621?v=3","gravatar_id":"","url":"https://api.github.com/users/ipfs","html_url":"https://github.com/ipfs","followers_url":"https://api.github.com/users/ipfs/followers","following_url":"https://api.github.com/users/ipfs/following{/other_user}","gists_url":"https://api.github.com/users/ipfs/gists{/gist_id}","starred_url":"https://api.github.com/users/ipfs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ipfs/subscriptions","organizations_url":"https://api.github.com/users/ipfs/orgs","repos_url":"https://api.github.com/users/ipfs/repos","events_url":"https://api.github.com/users/ipfs/events{/privacy}","received_events_url":"https://api.github.com/users/ipfs/received_events","type":"Organization","site_admin":false},"repo":{"id":43465675,"name":"go-libp2p","full_name":"ipfs/go-libp2p","owner":{"login":"ipfs","id":10536621,"avatar_url":"https://avatars.githubusercontent.com/u/10536621?v=3","gravatar_id":"","url":"https://api.github.com/users/ipfs","html_url":"https://github.com/ipfs","followers_url":"https://api.github.com/users/ipfs/followers","following_url":"https://api.github.com/users/ipfs/following{/other_user}","gists_url":"https://api.github.com/users/ipfs/gists{/gist_id}","starred_url":"https://api.github.com/users/ipfs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ipfs/subscriptions","organizations_url":"https://api.github.com/users/ipfs/orgs","repos_url":"https://api.github.com/users/ipfs/repos","events_url":"https://api.github.com/users/ipfs/events{/privacy}","received_events_url":"https://api.github.com/users/ipfs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ipfs/go-libp2p","description":"libp2p implementation in Go","fork":false,"url":"https://api.github.com/repos/ipfs/go-libp2p","forks_url":"https://api.github.com/repos/ipfs/go-libp2p/forks","keys_url":"https://api.github.com/repos/ipfs/go-libp2p/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ipfs/go-libp2p/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ipfs/go-libp2p/teams","hooks_url":"https://api.github.com/repos/ipfs/go-libp2p/hooks","issue_events_url":"https://api.github.com/repos/ipfs/go-libp2p/issues/events{/number}","events_url":"https://api.github.com/repos/ipfs/go-libp2p/events","assignees_url":"https://api.github.com/repos/ipfs/go-libp2p/assignees{/user}","branches_url":"https://api.github.com/repos/ipfs/go-libp2p/branches{/branch}","tags_url":"https://api.github.com/repos/ipfs/go-libp2p/tags","blobs_url":"https://api.github.com/repos/ipfs/go-libp2p/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ipfs/go-libp2p/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ipfs/go-libp2p/git/refs{/sha}","trees_url":"https://api.github.com/repos/ipfs/go-libp2p/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ipfs/go-libp2p/statuses/{sha}","languages_url":"https://api.github.com/repos/ipfs/go-libp2p/languages","stargazers_url":"https://api.github.com/repos/ipfs/go-libp2p/stargazers","contributors_url":"https://api.github.com/repos/ipfs/go-libp2p/contributors","subscribers_url":"https://api.github.com/repos/ipfs/go-libp2p/subscribers","subscription_url":"https://api.github.com/repos/ipfs/go-libp2p/subscription","commits_url":"https://api.github.com/repos/ipfs/go-libp2p/commits{/sha}","git_commits_url":"https://api.github.com/repos/ipfs/go-libp2p/git/commits{/sha}","comments_url":"https://api.github.com/repos/ipfs/go-libp2p/comments{/number}","issue_comment_url":"https://api.github.com/repos/ipfs/go-libp2p/issues/comments{/number}","contents_url":"https://api.github.com/repos/ipfs/go-libp2p/contents/{+path}","compare_url":"https://api.github.com/repos/ipfs/go-libp2p/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ipfs/go-libp2p/merges","archive_url":"https://api.github.com/repos/ipfs/go-libp2p/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ipfs/go-libp2p/downloads","issues_url":"https://api.github.com/repos/ipfs/go-libp2p/issues{/number}","pulls_url":"https://api.github.com/repos/ipfs/go-libp2p/pulls{/number}","milestones_url":"https://api.github.com/repos/ipfs/go-libp2p/milestones{/number}","notifications_url":"https://api.github.com/repos/ipfs/go-libp2p/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ipfs/go-libp2p/labels{/name}","releases_url":"https://api.github.com/repos/ipfs/go-libp2p/releases{/id}","deployments_url":"https://api.github.com/repos/ipfs/go-libp2p/deployments","created_at":"2015-09-30T23:24:32Z","updated_at":"2016-07-26T07:55:05Z","pushed_at":"2016-07-27T09:37:28Z","git_url":"git://github.com/ipfs/go-libp2p.git","ssh_url":"git@github.com:ipfs/go-libp2p.git","clone_url":"https://github.com/ipfs/go-libp2p.git","svn_url":"https://github.com/ipfs/go-libp2p","homepage":"","size":7596,"stargazers_count":492,"watchers_count":492,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":25,"mirror_url":null,"open_issues_count":23,"forks":25,"open_issues":23,"watchers":492,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ipfs/go-libp2p/pulls/77"},"html":{"href":"https://github.com/ipfs/go-libp2p/pull/77"},"issue":{"href":"https://api.github.com/repos/ipfs/go-libp2p/issues/77"},"comments":{"href":"https://api.github.com/repos/ipfs/go-libp2p/issues/77/comments"},"review_comments":{"href":"https://api.github.com/repos/ipfs/go-libp2p/pulls/77/comments"},"review_comment":{"href":"https://api.github.com/repos/ipfs/go-libp2p/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ipfs/go-libp2p/pulls/77/commits"},"statuses":{"href":"https://api.github.com/repos/ipfs/go-libp2p/statuses/5c8093b073a8cd31fd11ebeb146fa0b922f975c8"}}}}
{"actor":{"display_login":"John-Steidley"}}