{"action":"created","comment":{"url":"https://api.github.com/repos/btcsuite/btcd/pulls/comments/28889549","id":28889549,"diff_hunk":"@@ -714,11 +715,13 @@ func loadConfig() (*config, []string, error) {\n \tcfg.dial = net.Dial\n \tcfg.lookup = net.LookupIP\n \tif cfg.Proxy != \"\" {\n-\t\tproxy := &socks.Proxy{\n-\t\t\tAddr:     cfg.Proxy,\n-\t\t\tUsername: cfg.ProxyUser,\n-\t\t\tPassword: cfg.ProxyPass,\n+\t\tproxy, err := socks5.New(cfg.Proxy)","path":"config.go","position":28,"original_position":28,"commit_id":"e1b67c79c55d51fdee6b21d331ad166a6a6e4682","original_commit_id":"e1b67c79c55d51fdee6b21d331ad166a6a6e4682","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":"Would obviously affect this too.","created_at":"2015-04-22T16:26:27Z","updated_at":"2015-04-22T16:26:27Z","html_url":"https://github.com/btcsuite/btcd/pull/397#discussion_r28889549","pull_request_url":"https://api.github.com/repos/btcsuite/btcd/pulls/397","_links":{"self":{"href":"https://api.github.com/repos/btcsuite/btcd/pulls/comments/28889549"},"html":{"href":"https://github.com/btcsuite/btcd/pull/397#discussion_r28889549"},"pull_request":{"href":"https://api.github.com/repos/btcsuite/btcd/pulls/397"}}},"pull_request":{"url":"https://api.github.com/repos/btcsuite/btcd/pulls/397","id":33860872,"html_url":"https://github.com/btcsuite/btcd/pull/397","diff_url":"https://github.com/btcsuite/btcd/pull/397.diff","patch_url":"https://github.com/btcsuite/btcd/pull/397.patch","issue_url":"https://api.github.com/repos/btcsuite/btcd/issues/397","number":397,"state":"open","locked":false,"title":"Create and use a new SOCKS5 subpackage.","user":{"login":"dajohi","id":3308193,"avatar_url":"https://avatars.githubusercontent.com/u/3308193?v=3","gravatar_id":"","url":"https://api.github.com/users/dajohi","html_url":"https://github.com/dajohi","followers_url":"https://api.github.com/users/dajohi/followers","following_url":"https://api.github.com/users/dajohi/following{/other_user}","gists_url":"https://api.github.com/users/dajohi/gists{/gist_id}","starred_url":"https://api.github.com/users/dajohi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dajohi/subscriptions","organizations_url":"https://api.github.com/users/dajohi/orgs","repos_url":"https://api.github.com/users/dajohi/repos","events_url":"https://api.github.com/users/dajohi/events{/privacy}","received_events_url":"https://api.github.com/users/dajohi/received_events","type":"User","site_admin":false},"body":"The new SOCKS5 subpackage includes all the existing funcationality\r\nplus supports Tor stream isolation.  This can be acheived by using\r\nthe --proxyrandomize option.\r\n\r\nIdea from Wladimir J. van der Laan via Bitcoin Core:\r\nhttps://github.com/bitcoin/bitcoin/pull/5911","created_at":"2015-04-22T14:01:02Z","updated_at":"2015-04-22T16:26:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"440407a9cfb38c8bd411c6c1fab55410319965da","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/btcsuite/btcd/pulls/397/commits","review_comments_url":"https://api.github.com/repos/btcsuite/btcd/pulls/397/comments","review_comment_url":"https://api.github.com/repos/btcsuite/btcd/pulls/comments{/number}","comments_url":"https://api.github.com/repos/btcsuite/btcd/issues/397/comments","statuses_url":"https://api.github.com/repos/btcsuite/btcd/statuses/e1b67c79c55d51fdee6b21d331ad166a6a6e4682","head":{"label":"dajohi:socks","ref":"socks","sha":"e1b67c79c55d51fdee6b21d331ad166a6a6e4682","user":{"login":"dajohi","id":3308193,"avatar_url":"https://avatars.githubusercontent.com/u/3308193?v=3","gravatar_id":"","url":"https://api.github.com/users/dajohi","html_url":"https://github.com/dajohi","followers_url":"https://api.github.com/users/dajohi/followers","following_url":"https://api.github.com/users/dajohi/following{/other_user}","gists_url":"https://api.github.com/users/dajohi/gists{/gist_id}","starred_url":"https://api.github.com/users/dajohi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dajohi/subscriptions","organizations_url":"https://api.github.com/users/dajohi/orgs","repos_url":"https://api.github.com/users/dajohi/repos","events_url":"https://api.github.com/users/dajohi/events{/privacy}","received_events_url":"https://api.github.com/users/dajohi/received_events","type":"User","site_admin":false},"repo":{"id":30096355,"name":"btcd","full_name":"dajohi/btcd","owner":{"login":"dajohi","id":3308193,"avatar_url":"https://avatars.githubusercontent.com/u/3308193?v=3","gravatar_id":"","url":"https://api.github.com/users/dajohi","html_url":"https://github.com/dajohi","followers_url":"https://api.github.com/users/dajohi/followers","following_url":"https://api.github.com/users/dajohi/following{/other_user}","gists_url":"https://api.github.com/users/dajohi/gists{/gist_id}","starred_url":"https://api.github.com/users/dajohi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dajohi/subscriptions","organizations_url":"https://api.github.com/users/dajohi/orgs","repos_url":"https://api.github.com/users/dajohi/repos","events_url":"https://api.github.com/users/dajohi/events{/privacy}","received_events_url":"https://api.github.com/users/dajohi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dajohi/btcd","description":"An alternative full node bitcoin implementation written in Go (golang)","fork":true,"url":"https://api.github.com/repos/dajohi/btcd","forks_url":"https://api.github.com/repos/dajohi/btcd/forks","keys_url":"https://api.github.com/repos/dajohi/btcd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dajohi/btcd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dajohi/btcd/teams","hooks_url":"https://api.github.com/repos/dajohi/btcd/hooks","issue_events_url":"https://api.github.com/repos/dajohi/btcd/issues/events{/number}","events_url":"https://api.github.com/repos/dajohi/btcd/events","assignees_url":"https://api.github.com/repos/dajohi/btcd/assignees{/user}","branches_url":"https://api.github.com/repos/dajohi/btcd/branches{/branch}","tags_url":"https://api.github.com/repos/dajohi/btcd/tags","blobs_url":"https://api.github.com/repos/dajohi/btcd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dajohi/btcd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dajohi/btcd/git/refs{/sha}","trees_url":"https://api.github.com/repos/dajohi/btcd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dajohi/btcd/statuses/{sha}","languages_url":"https://api.github.com/repos/dajohi/btcd/languages","stargazers_url":"https://api.github.com/repos/dajohi/btcd/stargazers","contributors_url":"https://api.github.com/repos/dajohi/btcd/contributors","subscribers_url":"https://api.github.com/repos/dajohi/btcd/subscribers","subscription_url":"https://api.github.com/repos/dajohi/btcd/subscription","commits_url":"https://api.github.com/repos/dajohi/btcd/commits{/sha}","git_commits_url":"https://api.github.com/repos/dajohi/btcd/git/commits{/sha}","comments_url":"https://api.github.com/repos/dajohi/btcd/comments{/number}","issue_comment_url":"https://api.github.com/repos/dajohi/btcd/issues/comments{/number}","contents_url":"https://api.github.com/repos/dajohi/btcd/contents/{+path}","compare_url":"https://api.github.com/repos/dajohi/btcd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dajohi/btcd/merges","archive_url":"https://api.github.com/repos/dajohi/btcd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dajohi/btcd/downloads","issues_url":"https://api.github.com/repos/dajohi/btcd/issues{/number}","pulls_url":"https://api.github.com/repos/dajohi/btcd/pulls{/number}","milestones_url":"https://api.github.com/repos/dajohi/btcd/milestones{/number}","notifications_url":"https://api.github.com/repos/dajohi/btcd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dajohi/btcd/labels{/name}","releases_url":"https://api.github.com/repos/dajohi/btcd/releases{/id}","created_at":"2015-01-31T00:00:38Z","updated_at":"2015-03-19T19:14:12Z","pushed_at":"2015-04-22T14:00:27Z","git_url":"git://github.com/dajohi/btcd.git","ssh_url":"git@github.com:dajohi/btcd.git","clone_url":"https://github.com/dajohi/btcd.git","svn_url":"https://github.com/dajohi/btcd","homepage":null,"size":8367,"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":"c0b57def7f716d5502bf514728f1bfdb97951f1b","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":11931032,"name":"btcd","full_name":"btcsuite/btcd","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/btcd","description":"An alternative full node bitcoin implementation written in Go (golang)","fork":false,"url":"https://api.github.com/repos/btcsuite/btcd","forks_url":"https://api.github.com/repos/btcsuite/btcd/forks","keys_url":"https://api.github.com/repos/btcsuite/btcd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/btcsuite/btcd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/btcsuite/btcd/teams","hooks_url":"https://api.github.com/repos/btcsuite/btcd/hooks","issue_events_url":"https://api.github.com/repos/btcsuite/btcd/issues/events{/number}","events_url":"https://api.github.com/repos/btcsuite/btcd/events","assignees_url":"https://api.github.com/repos/btcsuite/btcd/assignees{/user}","branches_url":"https://api.github.com/repos/btcsuite/btcd/branches{/branch}","tags_url":"https://api.github.com/repos/btcsuite/btcd/tags","blobs_url":"https://api.github.com/repos/btcsuite/btcd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/btcsuite/btcd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/btcsuite/btcd/git/refs{/sha}","trees_url":"https://api.github.com/repos/btcsuite/btcd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/btcsuite/btcd/statuses/{sha}","languages_url":"https://api.github.com/repos/btcsuite/btcd/languages","stargazers_url":"https://api.github.com/repos/btcsuite/btcd/stargazers","contributors_url":"https://api.github.com/repos/btcsuite/btcd/contributors","subscribers_url":"https://api.github.com/repos/btcsuite/btcd/subscribers","subscription_url":"https://api.github.com/repos/btcsuite/btcd/subscription","commits_url":"https://api.github.com/repos/btcsuite/btcd/commits{/sha}","git_commits_url":"https://api.github.com/repos/btcsuite/btcd/git/commits{/sha}","comments_url":"https://api.github.com/repos/btcsuite/btcd/comments{/number}","issue_comment_url":"https://api.github.com/repos/btcsuite/btcd/issues/comments{/number}","contents_url":"https://api.github.com/repos/btcsuite/btcd/contents/{+path}","compare_url":"https://api.github.com/repos/btcsuite/btcd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/btcsuite/btcd/merges","archive_url":"https://api.github.com/repos/btcsuite/btcd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/btcsuite/btcd/downloads","issues_url":"https://api.github.com/repos/btcsuite/btcd/issues{/number}","pulls_url":"https://api.github.com/repos/btcsuite/btcd/pulls{/number}","milestones_url":"https://api.github.com/repos/btcsuite/btcd/milestones{/number}","notifications_url":"https://api.github.com/repos/btcsuite/btcd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/btcsuite/btcd/labels{/name}","releases_url":"https://api.github.com/repos/btcsuite/btcd/releases{/id}","created_at":"2013-08-06T18:10:52Z","updated_at":"2015-04-22T00:47:51Z","pushed_at":"2015-04-22T14:01:02Z","git_url":"git://github.com/btcsuite/btcd.git","ssh_url":"git@github.com:btcsuite/btcd.git","clone_url":"https://github.com/btcsuite/btcd.git","svn_url":"https://github.com/btcsuite/btcd","homepage":null,"size":19059,"stargazers_count":600,"watchers_count":600,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":122,"mirror_url":null,"open_issues_count":41,"forks":122,"open_issues":41,"watchers":600,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/btcsuite/btcd/pulls/397"},"html":{"href":"https://github.com/btcsuite/btcd/pull/397"},"issue":{"href":"https://api.github.com/repos/btcsuite/btcd/issues/397"},"comments":{"href":"https://api.github.com/repos/btcsuite/btcd/issues/397/comments"},"review_comments":{"href":"https://api.github.com/repos/btcsuite/btcd/pulls/397/comments"},"review_comment":{"href":"https://api.github.com/repos/btcsuite/btcd/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/btcsuite/btcd/pulls/397/commits"},"statuses":{"href":"https://api.github.com/repos/btcsuite/btcd/statuses/e1b67c79c55d51fdee6b21d331ad166a6a6e4682"}}}}