{"action":"created","comment":{"url":"https://api.github.com/repos/storj/storj/pulls/comments/215007671","pull_request_review_id":152179875,"id":215007671,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNTAwNzY3MQ==","diff_hunk":"@@ -0,0 +1,49 @@\n+// Copyright (C) 2018 Storj Labs, Inc.\n+// See LICENSE for copying information.\n+\n+package node\n+\n+import (\n+\t\"crypto/rand\"\n+\n+\tbase58 \"github.com/jbenet/go-base58\"\n+)\n+\n+// ID is the unique identifer of a Node in the overlay network\n+type ID string\n+\n+// String transforms the ID to a string type\n+func (n *ID) String() string {\n+\treturn string(*n)\n+}\n+\n+// Bytes transforms the ID to type []byte\n+func (n *ID) Bytes() []byte {\n+\treturn []byte(*n)\n+}\n+\n+// StringToID trsansforms a string to a ID\n+func StringToID(s string) *ID {\n+\tn := ID(s)\n+\treturn &n\n+}\n+\n+// NewID returns a pointer to a newly intialized ID\n+// TODO@ASK: this should be removed; superseded by `CASetupConfig.Create` / `IdentitySetupConfig.Create`\n+func NewID() (*ID, error) {\n+\tb, err := newID()\n+\tif err != nil {\n+\t\treturn nil, err\n+\t}\n+\n+\tbb := ID(base58.Encode(b))","path":"pkg/node/id.go","position":39,"original_position":39,"commit_id":"45125ba55406bf7ba8c9cbc822931297ec04d4dc","original_commit_id":"92ba53a5d74d6d16fb9801f28200bdf154fdceb3","user":{"login":"jtolds","id":109603,"node_id":"MDQ6VXNlcjEwOTYwMw==","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":"oh, let's just keep it another pr","created_at":"2018-09-04T17:49:19Z","updated_at":"2018-09-04T17:51:05Z","html_url":"https://github.com/storj/storj/pull/294#discussion_r215007671","pull_request_url":"https://api.github.com/repos/storj/storj/pulls/294","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/storj/storj/pulls/comments/215007671"},"html":{"href":"https://github.com/storj/storj/pull/294#discussion_r215007671"},"pull_request":{"href":"https://api.github.com/repos/storj/storj/pulls/294"}},"in_reply_to_id":213122291},"pull_request":{"url":"https://api.github.com/repos/storj/storj/pulls/294","id":211180069,"node_id":"MDExOlB1bGxSZXF1ZXN0MjExMTgwMDY5","html_url":"https://github.com/storj/storj/pull/294","diff_url":"https://github.com/storj/storj/pull/294.diff","patch_url":"https://github.com/storj/storj/pull/294.patch","issue_url":"https://api.github.com/repos/storj/storj/issues/294","number":294,"state":"open","locked":false,"title":"Coyle/boot bkad","user":{"login":"coyle","id":2541605,"node_id":"MDQ6VXNlcjI1NDE2MDU=","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":"\n\n<!-- Reviewable:start -->\nThis change is [<img src=\"https://reviewable.io/review_button.svg\" height=\"34\" align=\"absmiddle\" alt=\"Reviewable\"/>](https://reviewable.io/reviews/storj/storj/294)\n<!-- Reviewable:end -->\n","created_at":"2018-08-27T17:46:16Z","updated_at":"2018-09-04T17:51:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"39a300eceab3d029f4acd6f899f62bfeee6a8f06","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":982933521,"node_id":"MDU6TGFiZWw5ODI5MzM1MjE=","url":"https://api.github.com/repos/storj/storj/labels/cla-signed","name":"cla-signed","color":"ededed","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/storj/storj/pulls/294/commits","review_comments_url":"https://api.github.com/repos/storj/storj/pulls/294/comments","review_comment_url":"https://api.github.com/repos/storj/storj/pulls/comments{/number}","comments_url":"https://api.github.com/repos/storj/storj/issues/294/comments","statuses_url":"https://api.github.com/repos/storj/storj/statuses/45125ba55406bf7ba8c9cbc822931297ec04d4dc","head":{"label":"coyle:coyle/boot-bkad","ref":"coyle/boot-bkad","sha":"45125ba55406bf7ba8c9cbc822931297ec04d4dc","user":{"login":"coyle","id":2541605,"node_id":"MDQ6VXNlcjI1NDE2MDU=","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,"node_id":"MDEwOlJlcG9zaXRvcnkxMjkwOTE4OTY=","name":"storj","full_name":"coyle/storj","owner":{"login":"coyle","id":2541605,"node_id":"MDQ6VXNlcjI1NDE2MDU=","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-08-21T15:30:55Z","pushed_at":"2018-09-04T15:47:25Z","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":9856,"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":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"storj:master","ref":"master","sha":"0a78e741ec62437d97915c92e578a751b010e8ed","user":{"login":"storj","id":6308081,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYzMDgwODE=","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,"node_id":"MDEwOlJlcG9zaXRvcnkxMjgwODk3NzQ=","name":"storj","full_name":"storj/storj","owner":{"login":"storj","id":6308081,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYzMDgwODE=","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":"Ongoing Storj v3 development. Decentralized cloud object storage that is affordable, easy to use, private, and secure.","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-09-04T09:20:13Z","pushed_at":"2018-09-04T17:37:10Z","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":"https://storj.io","size":10970,"stargazers_count":163,"watchers_count":163,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":41,"mirror_url":null,"archived":false,"open_issues_count":16,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":41,"open_issues":16,"watchers":163,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/storj/storj/pulls/294"},"html":{"href":"https://github.com/storj/storj/pull/294"},"issue":{"href":"https://api.github.com/repos/storj/storj/issues/294"},"comments":{"href":"https://api.github.com/repos/storj/storj/issues/294/comments"},"review_comments":{"href":"https://api.github.com/repos/storj/storj/pulls/294/comments"},"review_comment":{"href":"https://api.github.com/repos/storj/storj/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/storj/storj/pulls/294/commits"},"statuses":{"href":"https://api.github.com/repos/storj/storj/statuses/45125ba55406bf7ba8c9cbc822931297ec04d4dc"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"jtolds"}}