{"action":"created","comment":{"url":"https://api.github.com/repos/aludvik/sawtooth-core/pulls/comments/192199573","pull_request_review_id":124929304,"id":192199573,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5MjE5OTU3Mw==","diff_hunk":"@@ -132,7 +132,14 @@ def __init__(self, proxy):\n         self._proxy = proxy\n \n     def handle_request(self, request, response):\n-        self._proxy.send_to(request.peer_id, request.message)\n+        try:\n+            self._proxy.send_to(\n+                request.peer_id,\n+                request.message.SerializeToString())","path":"validator/sawtooth_validator/consensus/handlers.py","position":17,"original_position":17,"commit_id":"77f15fce466c7f3504508b8eeaaa81fe49c72b3e","original_commit_id":"77f15fce466c7f3504508b8eeaaa81fe49c72b3e","user":{"login":"nick-drozd","id":25748894,"node_id":"MDQ6VXNlcjI1NzQ4ODk0","avatar_url":"https://avatars2.githubusercontent.com/u/25748894?v=4","gravatar_id":"","url":"https://api.github.com/users/nick-drozd","html_url":"https://github.com/nick-drozd","followers_url":"https://api.github.com/users/nick-drozd/followers","following_url":"https://api.github.com/users/nick-drozd/following{/other_user}","gists_url":"https://api.github.com/users/nick-drozd/gists{/gist_id}","starred_url":"https://api.github.com/users/nick-drozd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nick-drozd/subscriptions","organizations_url":"https://api.github.com/users/nick-drozd/orgs","repos_url":"https://api.github.com/users/nick-drozd/repos","events_url":"https://api.github.com/users/nick-drozd/events{/privacy}","received_events_url":"https://api.github.com/users/nick-drozd/received_events","type":"User","site_admin":false},"body":"Agreed, but this will require modifying the interfaces to gossip and/or interconnect.","created_at":"2018-05-31T18:45:11Z","updated_at":"2018-05-31T18:45:11Z","html_url":"https://github.com/aludvik/sawtooth-core/pull/28#discussion_r192199573","pull_request_url":"https://api.github.com/repos/aludvik/sawtooth-core/pulls/28","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/aludvik/sawtooth-core/pulls/comments/192199573"},"html":{"href":"https://github.com/aludvik/sawtooth-core/pull/28#discussion_r192199573"},"pull_request":{"href":"https://api.github.com/repos/aludvik/sawtooth-core/pulls/28"}},"in_reply_to_id":192125638},"pull_request":{"url":"https://api.github.com/repos/aludvik/sawtooth-core/pulls/28","id":191640347,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkxNjQwMzQ3","html_url":"https://github.com/aludvik/sawtooth-core/pull/28","diff_url":"https://github.com/aludvik/sawtooth-core/pull/28.diff","patch_url":"https://github.com/aludvik/sawtooth-core/pull/28.patch","issue_url":"https://api.github.com/repos/aludvik/sawtooth-core/issues/28","number":28,"state":"open","locked":false,"title":"Implement consensus messaging services","user":{"login":"nick-drozd","id":25748894,"node_id":"MDQ6VXNlcjI1NzQ4ODk0","avatar_url":"https://avatars2.githubusercontent.com/u/25748894?v=4","gravatar_id":"","url":"https://api.github.com/users/nick-drozd","html_url":"https://github.com/nick-drozd","followers_url":"https://api.github.com/users/nick-drozd/followers","following_url":"https://api.github.com/users/nick-drozd/following{/other_user}","gists_url":"https://api.github.com/users/nick-drozd/gists{/gist_id}","starred_url":"https://api.github.com/users/nick-drozd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nick-drozd/subscriptions","organizations_url":"https://api.github.com/users/nick-drozd/orgs","repos_url":"https://api.github.com/users/nick-drozd/repos","events_url":"https://api.github.com/users/nick-drozd/events{/privacy}","received_events_url":"https://api.github.com/users/nick-drozd/received_events","type":"User","site_admin":false},"body":"I will break this up into separate commits later.","created_at":"2018-05-31T04:21:32Z","updated_at":"2018-05-31T18:45:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d9a0088b10c2db6bc3cc89cbb03846e02c6961b2","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/aludvik/sawtooth-core/pulls/28/commits","review_comments_url":"https://api.github.com/repos/aludvik/sawtooth-core/pulls/28/comments","review_comment_url":"https://api.github.com/repos/aludvik/sawtooth-core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aludvik/sawtooth-core/issues/28/comments","statuses_url":"https://api.github.com/repos/aludvik/sawtooth-core/statuses/77f15fce466c7f3504508b8eeaaa81fe49c72b3e","head":{"label":"nick-drozd:peer-message","ref":"peer-message","sha":"77f15fce466c7f3504508b8eeaaa81fe49c72b3e","user":{"login":"nick-drozd","id":25748894,"node_id":"MDQ6VXNlcjI1NzQ4ODk0","avatar_url":"https://avatars2.githubusercontent.com/u/25748894?v=4","gravatar_id":"","url":"https://api.github.com/users/nick-drozd","html_url":"https://github.com/nick-drozd","followers_url":"https://api.github.com/users/nick-drozd/followers","following_url":"https://api.github.com/users/nick-drozd/following{/other_user}","gists_url":"https://api.github.com/users/nick-drozd/gists{/gist_id}","starred_url":"https://api.github.com/users/nick-drozd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nick-drozd/subscriptions","organizations_url":"https://api.github.com/users/nick-drozd/orgs","repos_url":"https://api.github.com/users/nick-drozd/repos","events_url":"https://api.github.com/users/nick-drozd/events{/privacy}","received_events_url":"https://api.github.com/users/nick-drozd/received_events","type":"User","site_admin":false},"repo":{"id":81846939,"node_id":"MDEwOlJlcG9zaXRvcnk4MTg0NjkzOQ==","name":"sawtooth-core","full_name":"nick-drozd/sawtooth-core","owner":{"login":"nick-drozd","id":25748894,"node_id":"MDQ6VXNlcjI1NzQ4ODk0","avatar_url":"https://avatars2.githubusercontent.com/u/25748894?v=4","gravatar_id":"","url":"https://api.github.com/users/nick-drozd","html_url":"https://github.com/nick-drozd","followers_url":"https://api.github.com/users/nick-drozd/followers","following_url":"https://api.github.com/users/nick-drozd/following{/other_user}","gists_url":"https://api.github.com/users/nick-drozd/gists{/gist_id}","starred_url":"https://api.github.com/users/nick-drozd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nick-drozd/subscriptions","organizations_url":"https://api.github.com/users/nick-drozd/orgs","repos_url":"https://api.github.com/users/nick-drozd/repos","events_url":"https://api.github.com/users/nick-drozd/events{/privacy}","received_events_url":"https://api.github.com/users/nick-drozd/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nick-drozd/sawtooth-core","description":"Core repository for Sawtooth Lake Distributed ledger","fork":true,"url":"https://api.github.com/repos/nick-drozd/sawtooth-core","forks_url":"https://api.github.com/repos/nick-drozd/sawtooth-core/forks","keys_url":"https://api.github.com/repos/nick-drozd/sawtooth-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nick-drozd/sawtooth-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nick-drozd/sawtooth-core/teams","hooks_url":"https://api.github.com/repos/nick-drozd/sawtooth-core/hooks","issue_events_url":"https://api.github.com/repos/nick-drozd/sawtooth-core/issues/events{/number}","events_url":"https://api.github.com/repos/nick-drozd/sawtooth-core/events","assignees_url":"https://api.github.com/repos/nick-drozd/sawtooth-core/assignees{/user}","branches_url":"https://api.github.com/repos/nick-drozd/sawtooth-core/branches{/branch}","tags_url":"https://api.github.com/repos/nick-drozd/sawtooth-core/tags","blobs_url":"https://api.github.com/repos/nick-drozd/sawtooth-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nick-drozd/sawtooth-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nick-drozd/sawtooth-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/nick-drozd/sawtooth-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nick-drozd/sawtooth-core/statuses/{sha}","languages_url":"https://api.github.com/repos/nick-drozd/sawtooth-core/languages","stargazers_url":"https://api.github.com/repos/nick-drozd/sawtooth-core/stargazers","contributors_url":"https://api.github.com/repos/nick-drozd/sawtooth-core/contributors","subscribers_url":"https://api.github.com/repos/nick-drozd/sawtooth-core/subscribers","subscription_url":"https://api.github.com/repos/nick-drozd/sawtooth-core/subscription","commits_url":"https://api.github.com/repos/nick-drozd/sawtooth-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/nick-drozd/sawtooth-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/nick-drozd/sawtooth-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/nick-drozd/sawtooth-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/nick-drozd/sawtooth-core/contents/{+path}","compare_url":"https://api.github.com/repos/nick-drozd/sawtooth-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nick-drozd/sawtooth-core/merges","archive_url":"https://api.github.com/repos/nick-drozd/sawtooth-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nick-drozd/sawtooth-core/downloads","issues_url":"https://api.github.com/repos/nick-drozd/sawtooth-core/issues{/number}","pulls_url":"https://api.github.com/repos/nick-drozd/sawtooth-core/pulls{/number}","milestones_url":"https://api.github.com/repos/nick-drozd/sawtooth-core/milestones{/number}","notifications_url":"https://api.github.com/repos/nick-drozd/sawtooth-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nick-drozd/sawtooth-core/labels{/name}","releases_url":"https://api.github.com/repos/nick-drozd/sawtooth-core/releases{/id}","deployments_url":"https://api.github.com/repos/nick-drozd/sawtooth-core/deployments","created_at":"2017-02-13T16:38:56Z","updated_at":"2017-02-13T16:38:59Z","pushed_at":"2018-05-31T04:18:15Z","git_url":"git://github.com/nick-drozd/sawtooth-core.git","ssh_url":"git@github.com:nick-drozd/sawtooth-core.git","clone_url":"https://github.com/nick-drozd/sawtooth-core.git","svn_url":"https://github.com/nick-drozd/sawtooth-core","homepage":"http://intelledger.github.io/","size":20246,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"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,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"aludvik:devmode-consensus-engine-prototype","ref":"devmode-consensus-engine-prototype","sha":"dd10e61efd2b767a3fa09413f2fec3ae9fd20da9","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":79595660,"node_id":"MDEwOlJlcG9zaXRvcnk3OTU5NTY2MA==","name":"sawtooth-core","full_name":"aludvik/sawtooth-core","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-core","description":"Core repository for Sawtooth Lake Distributed ledger","fork":true,"url":"https://api.github.com/repos/aludvik/sawtooth-core","forks_url":"https://api.github.com/repos/aludvik/sawtooth-core/forks","keys_url":"https://api.github.com/repos/aludvik/sawtooth-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aludvik/sawtooth-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aludvik/sawtooth-core/teams","hooks_url":"https://api.github.com/repos/aludvik/sawtooth-core/hooks","issue_events_url":"https://api.github.com/repos/aludvik/sawtooth-core/issues/events{/number}","events_url":"https://api.github.com/repos/aludvik/sawtooth-core/events","assignees_url":"https://api.github.com/repos/aludvik/sawtooth-core/assignees{/user}","branches_url":"https://api.github.com/repos/aludvik/sawtooth-core/branches{/branch}","tags_url":"https://api.github.com/repos/aludvik/sawtooth-core/tags","blobs_url":"https://api.github.com/repos/aludvik/sawtooth-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aludvik/sawtooth-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aludvik/sawtooth-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/aludvik/sawtooth-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aludvik/sawtooth-core/statuses/{sha}","languages_url":"https://api.github.com/repos/aludvik/sawtooth-core/languages","stargazers_url":"https://api.github.com/repos/aludvik/sawtooth-core/stargazers","contributors_url":"https://api.github.com/repos/aludvik/sawtooth-core/contributors","subscribers_url":"https://api.github.com/repos/aludvik/sawtooth-core/subscribers","subscription_url":"https://api.github.com/repos/aludvik/sawtooth-core/subscription","commits_url":"https://api.github.com/repos/aludvik/sawtooth-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/aludvik/sawtooth-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/aludvik/sawtooth-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/aludvik/sawtooth-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/aludvik/sawtooth-core/contents/{+path}","compare_url":"https://api.github.com/repos/aludvik/sawtooth-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aludvik/sawtooth-core/merges","archive_url":"https://api.github.com/repos/aludvik/sawtooth-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aludvik/sawtooth-core/downloads","issues_url":"https://api.github.com/repos/aludvik/sawtooth-core/issues{/number}","pulls_url":"https://api.github.com/repos/aludvik/sawtooth-core/pulls{/number}","milestones_url":"https://api.github.com/repos/aludvik/sawtooth-core/milestones{/number}","notifications_url":"https://api.github.com/repos/aludvik/sawtooth-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aludvik/sawtooth-core/labels{/name}","releases_url":"https://api.github.com/repos/aludvik/sawtooth-core/releases{/id}","deployments_url":"https://api.github.com/repos/aludvik/sawtooth-core/deployments","created_at":"2017-01-20T20:30:42Z","updated_at":"2018-05-30T19:28:12Z","pushed_at":"2018-05-31T17:52:43Z","git_url":"git://github.com/aludvik/sawtooth-core.git","ssh_url":"git@github.com:aludvik/sawtooth-core.git","clone_url":"https://github.com/aludvik/sawtooth-core.git","svn_url":"https://github.com/aludvik/sawtooth-core","homepage":"http://intelledger.github.io/","size":20368,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":1,"watchers":0,"default_branch":"devmode-consensus-engine-prototype"}},"_links":{"self":{"href":"https://api.github.com/repos/aludvik/sawtooth-core/pulls/28"},"html":{"href":"https://github.com/aludvik/sawtooth-core/pull/28"},"issue":{"href":"https://api.github.com/repos/aludvik/sawtooth-core/issues/28"},"comments":{"href":"https://api.github.com/repos/aludvik/sawtooth-core/issues/28/comments"},"review_comments":{"href":"https://api.github.com/repos/aludvik/sawtooth-core/pulls/28/comments"},"review_comment":{"href":"https://api.github.com/repos/aludvik/sawtooth-core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aludvik/sawtooth-core/pulls/28/commits"},"statuses":{"href":"https://api.github.com/repos/aludvik/sawtooth-core/statuses/77f15fce466c7f3504508b8eeaaa81fe49c72b3e"}},"author_association":"NONE"}}
{"actor":{"display_login":"nick-drozd"}}