{"action":"created","comment":{"url":"https://api.github.com/repos/storj/storj/pulls/comments/186133692","pull_request_review_id":117667098,"id":186133692,"diff_hunk":"@@ -0,0 +1,36 @@\n+package kademlia\n+\n+import (\n+\t\"context\"\n+\n+\t\"storj.io/storj/protos/overlay\"\n+)\n+\n+type nodeID string\n+\n+// DHT is the interface for the DHT in the Storj network\n+type DHT interface {\n+\tGetNodes(ctx context.Context) []overlay.Node\n+\tGetRoutingTable(ctx context.Context) RoutingTable\n+\tBootstrap(ctx context.Context) error","path":"pkg/kademlia/kademlia.go","position":15,"original_position":15,"commit_id":"e39ae2138f718c311897f0338433f479dbb46933","original_commit_id":"e39ae2138f718c311897f0338433f479dbb46933","user":{"login":"jtolds","id":109603,"avatar_url":"https://avatars0.githubusercontent.com/u/109603?v=4","gravatar_id":"","url":"https://api.github.com/users/jtolds","html_url":"https://github.com/jtolds","followers_url":"https://api.github.com/users/jtolds/followers","following_url":"https://api.github.com/users/jtolds/following{/other_user}","gists_url":"https://api.github.com/users/jtolds/gists{/gist_id}","starred_url":"https://api.github.com/users/jtolds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jtolds/subscriptions","organizations_url":"https://api.github.com/users/jtolds/orgs","repos_url":"https://api.github.com/users/jtolds/repos","events_url":"https://api.github.com/users/jtolds/events{/privacy}","received_events_url":"https://api.github.com/users/jtolds/received_events","type":"User","site_admin":false},"body":"good job on the ctx!","created_at":"2018-05-04T16:22:30Z","updated_at":"2018-05-04T16:30:44Z","html_url":"https://github.com/storj/storj/pull/28#discussion_r186133692","pull_request_url":"https://api.github.com/repos/storj/storj/pulls/28","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/storj/storj/pulls/comments/186133692"},"html":{"href":"https://github.com/storj/storj/pull/28#discussion_r186133692"},"pull_request":{"href":"https://api.github.com/repos/storj/storj/pulls/28"}}},"pull_request":{"url":"https://api.github.com/repos/storj/storj/pulls/28","id":186004392,"html_url":"https://github.com/storj/storj/pull/28","diff_url":"https://github.com/storj/storj/pull/28.diff","patch_url":"https://github.com/storj/storj/pull/28.patch","issue_url":"https://api.github.com/repos/storj/storj/issues/28","number":28,"state":"open","locked":false,"title":"DHT interfaces ","user":{"login":"coyle","id":2541605,"avatar_url":"https://avatars2.githubusercontent.com/u/2541605?v=4","gravatar_id":"","url":"https://api.github.com/users/coyle","html_url":"https://github.com/coyle","followers_url":"https://api.github.com/users/coyle/followers","following_url":"https://api.github.com/users/coyle/following{/other_user}","gists_url":"https://api.github.com/users/coyle/gists{/gist_id}","starred_url":"https://api.github.com/users/coyle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coyle/subscriptions","organizations_url":"https://api.github.com/users/coyle/orgs","repos_url":"https://api.github.com/users/coyle/repos","events_url":"https://api.github.com/users/coyle/events{/privacy}","received_events_url":"https://api.github.com/users/coyle/received_events","type":"User","site_admin":false},"body":"The interface definitions for our DHT","created_at":"2018-05-04T14:42:47Z","updated_at":"2018-05-04T16:30:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5c16bae9951bf962a7a864caab1f9c656f152a84","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/storj/storj/pulls/28/commits","review_comments_url":"https://api.github.com/repos/storj/storj/pulls/28/comments","review_comment_url":"https://api.github.com/repos/storj/storj/pulls/comments{/number}","comments_url":"https://api.github.com/repos/storj/storj/issues/28/comments","statuses_url":"https://api.github.com/repos/storj/storj/statuses/e39ae2138f718c311897f0338433f479dbb46933","head":{"label":"coyle:kad","ref":"kad","sha":"e39ae2138f718c311897f0338433f479dbb46933","user":{"login":"coyle","id":2541605,"avatar_url":"https://avatars2.githubusercontent.com/u/2541605?v=4","gravatar_id":"","url":"https://api.github.com/users/coyle","html_url":"https://github.com/coyle","followers_url":"https://api.github.com/users/coyle/followers","following_url":"https://api.github.com/users/coyle/following{/other_user}","gists_url":"https://api.github.com/users/coyle/gists{/gist_id}","starred_url":"https://api.github.com/users/coyle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coyle/subscriptions","organizations_url":"https://api.github.com/users/coyle/orgs","repos_url":"https://api.github.com/users/coyle/repos","events_url":"https://api.github.com/users/coyle/events{/privacy}","received_events_url":"https://api.github.com/users/coyle/received_events","type":"User","site_admin":false},"repo":{"id":129091896,"name":"storj","full_name":"coyle/storj","owner":{"login":"coyle","id":2541605,"avatar_url":"https://avatars2.githubusercontent.com/u/2541605?v=4","gravatar_id":"","url":"https://api.github.com/users/coyle","html_url":"https://github.com/coyle","followers_url":"https://api.github.com/users/coyle/followers","following_url":"https://api.github.com/users/coyle/following{/other_user}","gists_url":"https://api.github.com/users/coyle/gists{/gist_id}","starred_url":"https://api.github.com/users/coyle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coyle/subscriptions","organizations_url":"https://api.github.com/users/coyle/orgs","repos_url":"https://api.github.com/users/coyle/repos","events_url":"https://api.github.com/users/coyle/events{/privacy}","received_events_url":"https://api.github.com/users/coyle/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/coyle/storj","description":null,"fork":true,"url":"https://api.github.com/repos/coyle/storj","forks_url":"https://api.github.com/repos/coyle/storj/forks","keys_url":"https://api.github.com/repos/coyle/storj/keys{/key_id}","collaborators_url":"https://api.github.com/repos/coyle/storj/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/coyle/storj/teams","hooks_url":"https://api.github.com/repos/coyle/storj/hooks","issue_events_url":"https://api.github.com/repos/coyle/storj/issues/events{/number}","events_url":"https://api.github.com/repos/coyle/storj/events","assignees_url":"https://api.github.com/repos/coyle/storj/assignees{/user}","branches_url":"https://api.github.com/repos/coyle/storj/branches{/branch}","tags_url":"https://api.github.com/repos/coyle/storj/tags","blobs_url":"https://api.github.com/repos/coyle/storj/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/coyle/storj/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/coyle/storj/git/refs{/sha}","trees_url":"https://api.github.com/repos/coyle/storj/git/trees{/sha}","statuses_url":"https://api.github.com/repos/coyle/storj/statuses/{sha}","languages_url":"https://api.github.com/repos/coyle/storj/languages","stargazers_url":"https://api.github.com/repos/coyle/storj/stargazers","contributors_url":"https://api.github.com/repos/coyle/storj/contributors","subscribers_url":"https://api.github.com/repos/coyle/storj/subscribers","subscription_url":"https://api.github.com/repos/coyle/storj/subscription","commits_url":"https://api.github.com/repos/coyle/storj/commits{/sha}","git_commits_url":"https://api.github.com/repos/coyle/storj/git/commits{/sha}","comments_url":"https://api.github.com/repos/coyle/storj/comments{/number}","issue_comment_url":"https://api.github.com/repos/coyle/storj/issues/comments{/number}","contents_url":"https://api.github.com/repos/coyle/storj/contents/{+path}","compare_url":"https://api.github.com/repos/coyle/storj/compare/{base}...{head}","merges_url":"https://api.github.com/repos/coyle/storj/merges","archive_url":"https://api.github.com/repos/coyle/storj/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/coyle/storj/downloads","issues_url":"https://api.github.com/repos/coyle/storj/issues{/number}","pulls_url":"https://api.github.com/repos/coyle/storj/pulls{/number}","milestones_url":"https://api.github.com/repos/coyle/storj/milestones{/number}","notifications_url":"https://api.github.com/repos/coyle/storj/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/coyle/storj/labels{/name}","releases_url":"https://api.github.com/repos/coyle/storj/releases{/id}","deployments_url":"https://api.github.com/repos/coyle/storj/deployments","created_at":"2018-04-11T12:42:08Z","updated_at":"2018-04-24T15:49:10Z","pushed_at":"2018-05-04T14:41:53Z","git_url":"git://github.com/coyle/storj.git","ssh_url":"git@github.com:coyle/storj.git","clone_url":"https://github.com/coyle/storj.git","svn_url":"https://github.com/coyle/storj","homepage":null,"size":8459,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"storj:master","ref":"master","sha":"4f40280c719f4a1cb27a6cdfca415eef1f10b702","user":{"login":"storj","id":6308081,"avatar_url":"https://avatars3.githubusercontent.com/u/6308081?v=4","gravatar_id":"","url":"https://api.github.com/users/storj","html_url":"https://github.com/storj","followers_url":"https://api.github.com/users/storj/followers","following_url":"https://api.github.com/users/storj/following{/other_user}","gists_url":"https://api.github.com/users/storj/gists{/gist_id}","starred_url":"https://api.github.com/users/storj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/storj/subscriptions","organizations_url":"https://api.github.com/users/storj/orgs","repos_url":"https://api.github.com/users/storj/repos","events_url":"https://api.github.com/users/storj/events{/privacy}","received_events_url":"https://api.github.com/users/storj/received_events","type":"Organization","site_admin":false},"repo":{"id":128089774,"name":"storj","full_name":"storj/storj","owner":{"login":"storj","id":6308081,"avatar_url":"https://avatars3.githubusercontent.com/u/6308081?v=4","gravatar_id":"","url":"https://api.github.com/users/storj","html_url":"https://github.com/storj","followers_url":"https://api.github.com/users/storj/followers","following_url":"https://api.github.com/users/storj/following{/other_user}","gists_url":"https://api.github.com/users/storj/gists{/gist_id}","starred_url":"https://api.github.com/users/storj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/storj/subscriptions","organizations_url":"https://api.github.com/users/storj/orgs","repos_url":"https://api.github.com/users/storj/repos","events_url":"https://api.github.com/users/storj/events{/privacy}","received_events_url":"https://api.github.com/users/storj/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/storj/storj","description":null,"fork":false,"url":"https://api.github.com/repos/storj/storj","forks_url":"https://api.github.com/repos/storj/storj/forks","keys_url":"https://api.github.com/repos/storj/storj/keys{/key_id}","collaborators_url":"https://api.github.com/repos/storj/storj/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/storj/storj/teams","hooks_url":"https://api.github.com/repos/storj/storj/hooks","issue_events_url":"https://api.github.com/repos/storj/storj/issues/events{/number}","events_url":"https://api.github.com/repos/storj/storj/events","assignees_url":"https://api.github.com/repos/storj/storj/assignees{/user}","branches_url":"https://api.github.com/repos/storj/storj/branches{/branch}","tags_url":"https://api.github.com/repos/storj/storj/tags","blobs_url":"https://api.github.com/repos/storj/storj/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/storj/storj/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/storj/storj/git/refs{/sha}","trees_url":"https://api.github.com/repos/storj/storj/git/trees{/sha}","statuses_url":"https://api.github.com/repos/storj/storj/statuses/{sha}","languages_url":"https://api.github.com/repos/storj/storj/languages","stargazers_url":"https://api.github.com/repos/storj/storj/stargazers","contributors_url":"https://api.github.com/repos/storj/storj/contributors","subscribers_url":"https://api.github.com/repos/storj/storj/subscribers","subscription_url":"https://api.github.com/repos/storj/storj/subscription","commits_url":"https://api.github.com/repos/storj/storj/commits{/sha}","git_commits_url":"https://api.github.com/repos/storj/storj/git/commits{/sha}","comments_url":"https://api.github.com/repos/storj/storj/comments{/number}","issue_comment_url":"https://api.github.com/repos/storj/storj/issues/comments{/number}","contents_url":"https://api.github.com/repos/storj/storj/contents/{+path}","compare_url":"https://api.github.com/repos/storj/storj/compare/{base}...{head}","merges_url":"https://api.github.com/repos/storj/storj/merges","archive_url":"https://api.github.com/repos/storj/storj/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/storj/storj/downloads","issues_url":"https://api.github.com/repos/storj/storj/issues{/number}","pulls_url":"https://api.github.com/repos/storj/storj/pulls{/number}","milestones_url":"https://api.github.com/repos/storj/storj/milestones{/number}","notifications_url":"https://api.github.com/repos/storj/storj/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/storj/storj/labels{/name}","releases_url":"https://api.github.com/repos/storj/storj/releases{/id}","deployments_url":"https://api.github.com/repos/storj/storj/deployments","created_at":"2018-04-04T16:27:18Z","updated_at":"2018-05-03T12:45:21Z","pushed_at":"2018-05-04T14:42:48Z","git_url":"git://github.com/storj/storj.git","ssh_url":"git@github.com:storj/storj.git","clone_url":"https://github.com/storj/storj.git","svn_url":"https://github.com/storj/storj","homepage":null,"size":145,"stargazers_count":18,"watchers_count":18,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"archived":false,"open_issues_count":9,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":13,"open_issues":9,"watchers":18,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/storj/storj/pulls/28"},"html":{"href":"https://github.com/storj/storj/pull/28"},"issue":{"href":"https://api.github.com/repos/storj/storj/issues/28"},"comments":{"href":"https://api.github.com/repos/storj/storj/issues/28/comments"},"review_comments":{"href":"https://api.github.com/repos/storj/storj/pulls/28/comments"},"review_comment":{"href":"https://api.github.com/repos/storj/storj/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/storj/storj/pulls/28/commits"},"statuses":{"href":"https://api.github.com/repos/storj/storj/statuses/e39ae2138f718c311897f0338433f479dbb46933"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"jtolds"}}