{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/aludvik/sawtooth-raft-1/pulls/1","id":204505400,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA0NTA1NDAw","html_url":"https://github.com/aludvik/sawtooth-raft-1/pull/1","diff_url":"https://github.com/aludvik/sawtooth-raft-1/pull/1.diff","patch_url":"https://github.com/aludvik/sawtooth-raft-1/pull/1.patch","issue_url":"https://api.github.com/repos/aludvik/sawtooth-raft-1/issues/1","number":1,"state":"open","locked":false,"title":"Derive Raft Id from PeerId","user":{"login":"ltseeley","id":663101,"node_id":"MDQ6VXNlcjY2MzEwMQ==","avatar_url":"https://avatars1.githubusercontent.com/u/663101?v=4","gravatar_id":"","url":"https://api.github.com/users/ltseeley","html_url":"https://github.com/ltseeley","followers_url":"https://api.github.com/users/ltseeley/followers","following_url":"https://api.github.com/users/ltseeley/following{/other_user}","gists_url":"https://api.github.com/users/ltseeley/gists{/gist_id}","starred_url":"https://api.github.com/users/ltseeley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ltseeley/subscriptions","organizations_url":"https://api.github.com/users/ltseeley/orgs","repos_url":"https://api.github.com/users/ltseeley/repos","events_url":"https://api.github.com/users/ltseeley/events{/privacy}","received_events_url":"https://api.github.com/users/ltseeley/received_events","type":"User","site_admin":false},"body":"Instead of requiring users to come up with and specify a mapping for\r\neach validator's public key to Raft Id, the Raft Id is derived directly\r\nfrom the public key.\r\n\r\nFor the size of networks typically used in a Raft deployment (and even\r\nmuch larger networks) the chance of collision should be small enough\r\nthat it outweighs the cost of manually configuring this.\r\n\r\nSigned-off-by: Adam Ludvik <ludvik@bitwise.io>","created_at":"2018-07-27T18:22:15Z","updated_at":"2018-07-27T18:22:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/aludvik/sawtooth-raft-1/pulls/1/commits","review_comments_url":"https://api.github.com/repos/aludvik/sawtooth-raft-1/pulls/1/comments","review_comment_url":"https://api.github.com/repos/aludvik/sawtooth-raft-1/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aludvik/sawtooth-raft-1/issues/1/comments","statuses_url":"https://api.github.com/repos/aludvik/sawtooth-raft-1/statuses/c420849df21b0a1e78deeea5e222775f5d48bd7c","head":{"label":"ltseeley:public-key-to-raft-id","ref":"public-key-to-raft-id","sha":"c420849df21b0a1e78deeea5e222775f5d48bd7c","user":{"login":"ltseeley","id":663101,"node_id":"MDQ6VXNlcjY2MzEwMQ==","avatar_url":"https://avatars1.githubusercontent.com/u/663101?v=4","gravatar_id":"","url":"https://api.github.com/users/ltseeley","html_url":"https://github.com/ltseeley","followers_url":"https://api.github.com/users/ltseeley/followers","following_url":"https://api.github.com/users/ltseeley/following{/other_user}","gists_url":"https://api.github.com/users/ltseeley/gists{/gist_id}","starred_url":"https://api.github.com/users/ltseeley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ltseeley/subscriptions","organizations_url":"https://api.github.com/users/ltseeley/orgs","repos_url":"https://api.github.com/users/ltseeley/repos","events_url":"https://api.github.com/users/ltseeley/events{/privacy}","received_events_url":"https://api.github.com/users/ltseeley/received_events","type":"User","site_admin":false},"repo":{"id":141450918,"node_id":"MDEwOlJlcG9zaXRvcnkxNDE0NTA5MTg=","name":"sawtooth-raft","full_name":"ltseeley/sawtooth-raft","owner":{"login":"ltseeley","id":663101,"node_id":"MDQ6VXNlcjY2MzEwMQ==","avatar_url":"https://avatars1.githubusercontent.com/u/663101?v=4","gravatar_id":"","url":"https://api.github.com/users/ltseeley","html_url":"https://github.com/ltseeley","followers_url":"https://api.github.com/users/ltseeley/followers","following_url":"https://api.github.com/users/ltseeley/following{/other_user}","gists_url":"https://api.github.com/users/ltseeley/gists{/gist_id}","starred_url":"https://api.github.com/users/ltseeley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ltseeley/subscriptions","organizations_url":"https://api.github.com/users/ltseeley/orgs","repos_url":"https://api.github.com/users/ltseeley/repos","events_url":"https://api.github.com/users/ltseeley/events{/privacy}","received_events_url":"https://api.github.com/users/ltseeley/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ltseeley/sawtooth-raft","description":null,"fork":true,"url":"https://api.github.com/repos/ltseeley/sawtooth-raft","forks_url":"https://api.github.com/repos/ltseeley/sawtooth-raft/forks","keys_url":"https://api.github.com/repos/ltseeley/sawtooth-raft/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ltseeley/sawtooth-raft/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ltseeley/sawtooth-raft/teams","hooks_url":"https://api.github.com/repos/ltseeley/sawtooth-raft/hooks","issue_events_url":"https://api.github.com/repos/ltseeley/sawtooth-raft/issues/events{/number}","events_url":"https://api.github.com/repos/ltseeley/sawtooth-raft/events","assignees_url":"https://api.github.com/repos/ltseeley/sawtooth-raft/assignees{/user}","branches_url":"https://api.github.com/repos/ltseeley/sawtooth-raft/branches{/branch}","tags_url":"https://api.github.com/repos/ltseeley/sawtooth-raft/tags","blobs_url":"https://api.github.com/repos/ltseeley/sawtooth-raft/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ltseeley/sawtooth-raft/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ltseeley/sawtooth-raft/git/refs{/sha}","trees_url":"https://api.github.com/repos/ltseeley/sawtooth-raft/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ltseeley/sawtooth-raft/statuses/{sha}","languages_url":"https://api.github.com/repos/ltseeley/sawtooth-raft/languages","stargazers_url":"https://api.github.com/repos/ltseeley/sawtooth-raft/stargazers","contributors_url":"https://api.github.com/repos/ltseeley/sawtooth-raft/contributors","subscribers_url":"https://api.github.com/repos/ltseeley/sawtooth-raft/subscribers","subscription_url":"https://api.github.com/repos/ltseeley/sawtooth-raft/subscription","commits_url":"https://api.github.com/repos/ltseeley/sawtooth-raft/commits{/sha}","git_commits_url":"https://api.github.com/repos/ltseeley/sawtooth-raft/git/commits{/sha}","comments_url":"https://api.github.com/repos/ltseeley/sawtooth-raft/comments{/number}","issue_comment_url":"https://api.github.com/repos/ltseeley/sawtooth-raft/issues/comments{/number}","contents_url":"https://api.github.com/repos/ltseeley/sawtooth-raft/contents/{+path}","compare_url":"https://api.github.com/repos/ltseeley/sawtooth-raft/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ltseeley/sawtooth-raft/merges","archive_url":"https://api.github.com/repos/ltseeley/sawtooth-raft/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ltseeley/sawtooth-raft/downloads","issues_url":"https://api.github.com/repos/ltseeley/sawtooth-raft/issues{/number}","pulls_url":"https://api.github.com/repos/ltseeley/sawtooth-raft/pulls{/number}","milestones_url":"https://api.github.com/repos/ltseeley/sawtooth-raft/milestones{/number}","notifications_url":"https://api.github.com/repos/ltseeley/sawtooth-raft/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ltseeley/sawtooth-raft/labels{/name}","releases_url":"https://api.github.com/repos/ltseeley/sawtooth-raft/releases{/id}","deployments_url":"https://api.github.com/repos/ltseeley/sawtooth-raft/deployments","created_at":"2018-07-18T15:03:31Z","updated_at":"2018-07-18T15:03:34Z","pushed_at":"2018-07-27T18:20:31Z","git_url":"git://github.com/ltseeley/sawtooth-raft.git","ssh_url":"git@github.com:ltseeley/sawtooth-raft.git","clone_url":"https://github.com/ltseeley/sawtooth-raft.git","svn_url":"https://github.com/ltseeley/sawtooth-raft","homepage":null,"size":68,"stargazers_count":0,"watchers_count":0,"language":"Rust","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":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"aludvik:public-key-to-raft-id","ref":"public-key-to-raft-id","sha":"63421ded4a25bfa39f67eb2b3c4a3198aa3b47e2","user":{"login":"aludvik","id":24274338,"node_id":"MDQ6VXNlcjI0Mjc0MzM4","avatar_url":"https://avatars1.githubusercontent.com/u/24274338?v=4","gravatar_id":"","url":"https://api.github.com/users/aludvik","html_url":"https://github.com/aludvik","followers_url":"https://api.github.com/users/aludvik/followers","following_url":"https://api.github.com/users/aludvik/following{/other_user}","gists_url":"https://api.github.com/users/aludvik/gists{/gist_id}","starred_url":"https://api.github.com/users/aludvik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aludvik/subscriptions","organizations_url":"https://api.github.com/users/aludvik/orgs","repos_url":"https://api.github.com/users/aludvik/repos","events_url":"https://api.github.com/users/aludvik/events{/privacy}","received_events_url":"https://api.github.com/users/aludvik/received_events","type":"User","site_admin":false},"repo":{"id":137763175,"node_id":"MDEwOlJlcG9zaXRvcnkxMzc3NjMxNzU=","name":"sawtooth-raft-1","full_name":"aludvik/sawtooth-raft-1","owner":{"login":"aludvik","id":24274338,"node_id":"MDQ6VXNlcjI0Mjc0MzM4","avatar_url":"https://avatars1.githubusercontent.com/u/24274338?v=4","gravatar_id":"","url":"https://api.github.com/users/aludvik","html_url":"https://github.com/aludvik","followers_url":"https://api.github.com/users/aludvik/followers","following_url":"https://api.github.com/users/aludvik/following{/other_user}","gists_url":"https://api.github.com/users/aludvik/gists{/gist_id}","starred_url":"https://api.github.com/users/aludvik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aludvik/subscriptions","organizations_url":"https://api.github.com/users/aludvik/orgs","repos_url":"https://api.github.com/users/aludvik/repos","events_url":"https://api.github.com/users/aludvik/events{/privacy}","received_events_url":"https://api.github.com/users/aludvik/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aludvik/sawtooth-raft-1","description":null,"fork":true,"url":"https://api.github.com/repos/aludvik/sawtooth-raft-1","forks_url":"https://api.github.com/repos/aludvik/sawtooth-raft-1/forks","keys_url":"https://api.github.com/repos/aludvik/sawtooth-raft-1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aludvik/sawtooth-raft-1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aludvik/sawtooth-raft-1/teams","hooks_url":"https://api.github.com/repos/aludvik/sawtooth-raft-1/hooks","issue_events_url":"https://api.github.com/repos/aludvik/sawtooth-raft-1/issues/events{/number}","events_url":"https://api.github.com/repos/aludvik/sawtooth-raft-1/events","assignees_url":"https://api.github.com/repos/aludvik/sawtooth-raft-1/assignees{/user}","branches_url":"https://api.github.com/repos/aludvik/sawtooth-raft-1/branches{/branch}","tags_url":"https://api.github.com/repos/aludvik/sawtooth-raft-1/tags","blobs_url":"https://api.github.com/repos/aludvik/sawtooth-raft-1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aludvik/sawtooth-raft-1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aludvik/sawtooth-raft-1/git/refs{/sha}","trees_url":"https://api.github.com/repos/aludvik/sawtooth-raft-1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aludvik/sawtooth-raft-1/statuses/{sha}","languages_url":"https://api.github.com/repos/aludvik/sawtooth-raft-1/languages","stargazers_url":"https://api.github.com/repos/aludvik/sawtooth-raft-1/stargazers","contributors_url":"https://api.github.com/repos/aludvik/sawtooth-raft-1/contributors","subscribers_url":"https://api.github.com/repos/aludvik/sawtooth-raft-1/subscribers","subscription_url":"https://api.github.com/repos/aludvik/sawtooth-raft-1/subscription","commits_url":"https://api.github.com/repos/aludvik/sawtooth-raft-1/commits{/sha}","git_commits_url":"https://api.github.com/repos/aludvik/sawtooth-raft-1/git/commits{/sha}","comments_url":"https://api.github.com/repos/aludvik/sawtooth-raft-1/comments{/number}","issue_comment_url":"https://api.github.com/repos/aludvik/sawtooth-raft-1/issues/comments{/number}","contents_url":"https://api.github.com/repos/aludvik/sawtooth-raft-1/contents/{+path}","compare_url":"https://api.github.com/repos/aludvik/sawtooth-raft-1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aludvik/sawtooth-raft-1/merges","archive_url":"https://api.github.com/repos/aludvik/sawtooth-raft-1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aludvik/sawtooth-raft-1/downloads","issues_url":"https://api.github.com/repos/aludvik/sawtooth-raft-1/issues{/number}","pulls_url":"https://api.github.com/repos/aludvik/sawtooth-raft-1/pulls{/number}","milestones_url":"https://api.github.com/repos/aludvik/sawtooth-raft-1/milestones{/number}","notifications_url":"https://api.github.com/repos/aludvik/sawtooth-raft-1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aludvik/sawtooth-raft-1/labels{/name}","releases_url":"https://api.github.com/repos/aludvik/sawtooth-raft-1/releases{/id}","deployments_url":"https://api.github.com/repos/aludvik/sawtooth-raft-1/deployments","created_at":"2018-06-18T14:34:47Z","updated_at":"2018-06-18T14:34:49Z","pushed_at":"2018-07-27T17:44:49Z","git_url":"git://github.com/aludvik/sawtooth-raft-1.git","ssh_url":"git@github.com:aludvik/sawtooth-raft-1.git","clone_url":"https://github.com/aludvik/sawtooth-raft-1.git","svn_url":"https://github.com/aludvik/sawtooth-raft-1","homepage":null,"size":91,"stargazers_count":0,"watchers_count":0,"language":"Rust","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":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/aludvik/sawtooth-raft-1/pulls/1"},"html":{"href":"https://github.com/aludvik/sawtooth-raft-1/pull/1"},"issue":{"href":"https://api.github.com/repos/aludvik/sawtooth-raft-1/issues/1"},"comments":{"href":"https://api.github.com/repos/aludvik/sawtooth-raft-1/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/aludvik/sawtooth-raft-1/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/aludvik/sawtooth-raft-1/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aludvik/sawtooth-raft-1/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/aludvik/sawtooth-raft-1/statuses/c420849df21b0a1e78deeea5e222775f5d48bd7c"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":70,"deletions":64,"changed_files":6}}
{"actor":{"display_login":"ltseeley"}}