{"action":"closed","number":2003,"pull_request":{"url":"https://api.github.com/repos/mimblewimble/grin/pulls/2003","id":232470738,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMyNDcwNzM4","html_url":"https://github.com/mimblewimble/grin/pull/2003","diff_url":"https://github.com/mimblewimble/grin/pull/2003.diff","patch_url":"https://github.com/mimblewimble/grin/pull/2003.patch","issue_url":"https://api.github.com/repos/mimblewimble/grin/issues/2003","number":2003,"state":"closed","locked":false,"title":"Block accepted reorg aware","user":{"login":"antiochp","id":30642645,"node_id":"MDQ6VXNlcjMwNjQyNjQ1","avatar_url":"https://avatars2.githubusercontent.com/u/30642645?v=4","gravatar_id":"","url":"https://api.github.com/users/antiochp","html_url":"https://github.com/antiochp","followers_url":"https://api.github.com/users/antiochp/followers","following_url":"https://api.github.com/users/antiochp/following{/other_user}","gists_url":"https://api.github.com/users/antiochp/gists{/gist_id}","starred_url":"https://api.github.com/users/antiochp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antiochp/subscriptions","organizations_url":"https://api.github.com/users/antiochp/orgs","repos_url":"https://api.github.com/users/antiochp/repos","events_url":"https://api.github.com/users/antiochp/events{/privacy}","received_events_url":"https://api.github.com/users/antiochp/received_events","type":"User","site_admin":false},"body":"Couple of optimizations for txpool - \r\n\r\n  * skip reconciling txpool against new block if we have _not_ extended most work chain\r\n  * skip reconciling reorg_cache if block does _not_ result in a reorg\r\n  * introduce `BlockStatus` enum to represent state of new accepted block - \r\n    * `Next`\r\n    * `Fork`\r\n    * `Reorg`\r\n\r\n","created_at":"2018-11-20T21:52:11Z","updated_at":"2018-11-21T14:35:39Z","closed_at":"2018-11-21T14:35:39Z","merged_at":"2018-11-21T14:35:39Z","merge_commit_sha":"66f25451865cfa51cc321e253b077a57f33da71f","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/mimblewimble/grin/pulls/2003/commits","review_comments_url":"https://api.github.com/repos/mimblewimble/grin/pulls/2003/comments","review_comment_url":"https://api.github.com/repos/mimblewimble/grin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mimblewimble/grin/issues/2003/comments","statuses_url":"https://api.github.com/repos/mimblewimble/grin/statuses/24ebe737d3f1854ed72d5c39dac0bc003ff0e903","head":{"label":"antiochp:block_accepted_reorg_aware","ref":"block_accepted_reorg_aware","sha":"24ebe737d3f1854ed72d5c39dac0bc003ff0e903","user":{"login":"antiochp","id":30642645,"node_id":"MDQ6VXNlcjMwNjQyNjQ1","avatar_url":"https://avatars2.githubusercontent.com/u/30642645?v=4","gravatar_id":"","url":"https://api.github.com/users/antiochp","html_url":"https://github.com/antiochp","followers_url":"https://api.github.com/users/antiochp/followers","following_url":"https://api.github.com/users/antiochp/following{/other_user}","gists_url":"https://api.github.com/users/antiochp/gists{/gist_id}","starred_url":"https://api.github.com/users/antiochp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antiochp/subscriptions","organizations_url":"https://api.github.com/users/antiochp/orgs","repos_url":"https://api.github.com/users/antiochp/repos","events_url":"https://api.github.com/users/antiochp/events{/privacy}","received_events_url":"https://api.github.com/users/antiochp/received_events","type":"User","site_admin":false},"repo":{"id":99061244,"node_id":"MDEwOlJlcG9zaXRvcnk5OTA2MTI0NA==","name":"grin","full_name":"antiochp/grin","private":false,"owner":{"login":"antiochp","id":30642645,"node_id":"MDQ6VXNlcjMwNjQyNjQ1","avatar_url":"https://avatars2.githubusercontent.com/u/30642645?v=4","gravatar_id":"","url":"https://api.github.com/users/antiochp","html_url":"https://github.com/antiochp","followers_url":"https://api.github.com/users/antiochp/followers","following_url":"https://api.github.com/users/antiochp/following{/other_user}","gists_url":"https://api.github.com/users/antiochp/gists{/gist_id}","starred_url":"https://api.github.com/users/antiochp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antiochp/subscriptions","organizations_url":"https://api.github.com/users/antiochp/orgs","repos_url":"https://api.github.com/users/antiochp/repos","events_url":"https://api.github.com/users/antiochp/events{/privacy}","received_events_url":"https://api.github.com/users/antiochp/received_events","type":"User","site_admin":false},"html_url":"https://github.com/antiochp/grin","description":"Minimal implementation of the MimbleWimble protocol.","fork":true,"url":"https://api.github.com/repos/antiochp/grin","forks_url":"https://api.github.com/repos/antiochp/grin/forks","keys_url":"https://api.github.com/repos/antiochp/grin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/antiochp/grin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/antiochp/grin/teams","hooks_url":"https://api.github.com/repos/antiochp/grin/hooks","issue_events_url":"https://api.github.com/repos/antiochp/grin/issues/events{/number}","events_url":"https://api.github.com/repos/antiochp/grin/events","assignees_url":"https://api.github.com/repos/antiochp/grin/assignees{/user}","branches_url":"https://api.github.com/repos/antiochp/grin/branches{/branch}","tags_url":"https://api.github.com/repos/antiochp/grin/tags","blobs_url":"https://api.github.com/repos/antiochp/grin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/antiochp/grin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/antiochp/grin/git/refs{/sha}","trees_url":"https://api.github.com/repos/antiochp/grin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/antiochp/grin/statuses/{sha}","languages_url":"https://api.github.com/repos/antiochp/grin/languages","stargazers_url":"https://api.github.com/repos/antiochp/grin/stargazers","contributors_url":"https://api.github.com/repos/antiochp/grin/contributors","subscribers_url":"https://api.github.com/repos/antiochp/grin/subscribers","subscription_url":"https://api.github.com/repos/antiochp/grin/subscription","commits_url":"https://api.github.com/repos/antiochp/grin/commits{/sha}","git_commits_url":"https://api.github.com/repos/antiochp/grin/git/commits{/sha}","comments_url":"https://api.github.com/repos/antiochp/grin/comments{/number}","issue_comment_url":"https://api.github.com/repos/antiochp/grin/issues/comments{/number}","contents_url":"https://api.github.com/repos/antiochp/grin/contents/{+path}","compare_url":"https://api.github.com/repos/antiochp/grin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/antiochp/grin/merges","archive_url":"https://api.github.com/repos/antiochp/grin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/antiochp/grin/downloads","issues_url":"https://api.github.com/repos/antiochp/grin/issues{/number}","pulls_url":"https://api.github.com/repos/antiochp/grin/pulls{/number}","milestones_url":"https://api.github.com/repos/antiochp/grin/milestones{/number}","notifications_url":"https://api.github.com/repos/antiochp/grin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/antiochp/grin/labels{/name}","releases_url":"https://api.github.com/repos/antiochp/grin/releases{/id}","deployments_url":"https://api.github.com/repos/antiochp/grin/deployments","created_at":"2017-08-02T02:04:29Z","updated_at":"2018-11-20T21:48:31Z","pushed_at":"2018-11-21T13:10:53Z","git_url":"git://github.com/antiochp/grin.git","ssh_url":"git@github.com:antiochp/grin.git","clone_url":"https://github.com/antiochp/grin.git","svn_url":"https://github.com/antiochp/grin","homepage":"","size":13076,"stargazers_count":0,"watchers_count":0,"language":"Rust","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"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":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mimblewimble:master","ref":"master","sha":"61f1f6103b8912c6d682966929991506edd60e83","user":{"login":"mimblewimble","id":23646132,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIzNjQ2MTMy","avatar_url":"https://avatars0.githubusercontent.com/u/23646132?v=4","gravatar_id":"","url":"https://api.github.com/users/mimblewimble","html_url":"https://github.com/mimblewimble","followers_url":"https://api.github.com/users/mimblewimble/followers","following_url":"https://api.github.com/users/mimblewimble/following{/other_user}","gists_url":"https://api.github.com/users/mimblewimble/gists{/gist_id}","starred_url":"https://api.github.com/users/mimblewimble/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mimblewimble/subscriptions","organizations_url":"https://api.github.com/users/mimblewimble/orgs","repos_url":"https://api.github.com/users/mimblewimble/repos","events_url":"https://api.github.com/users/mimblewimble/events{/privacy}","received_events_url":"https://api.github.com/users/mimblewimble/received_events","type":"Organization","site_admin":false},"repo":{"id":71514072,"node_id":"MDEwOlJlcG9zaXRvcnk3MTUxNDA3Mg==","name":"grin","full_name":"mimblewimble/grin","private":false,"owner":{"login":"mimblewimble","id":23646132,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIzNjQ2MTMy","avatar_url":"https://avatars0.githubusercontent.com/u/23646132?v=4","gravatar_id":"","url":"https://api.github.com/users/mimblewimble","html_url":"https://github.com/mimblewimble","followers_url":"https://api.github.com/users/mimblewimble/followers","following_url":"https://api.github.com/users/mimblewimble/following{/other_user}","gists_url":"https://api.github.com/users/mimblewimble/gists{/gist_id}","starred_url":"https://api.github.com/users/mimblewimble/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mimblewimble/subscriptions","organizations_url":"https://api.github.com/users/mimblewimble/orgs","repos_url":"https://api.github.com/users/mimblewimble/repos","events_url":"https://api.github.com/users/mimblewimble/events{/privacy}","received_events_url":"https://api.github.com/users/mimblewimble/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/mimblewimble/grin","description":"Minimal implementation of the MimbleWimble protocol.","fork":false,"url":"https://api.github.com/repos/mimblewimble/grin","forks_url":"https://api.github.com/repos/mimblewimble/grin/forks","keys_url":"https://api.github.com/repos/mimblewimble/grin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mimblewimble/grin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mimblewimble/grin/teams","hooks_url":"https://api.github.com/repos/mimblewimble/grin/hooks","issue_events_url":"https://api.github.com/repos/mimblewimble/grin/issues/events{/number}","events_url":"https://api.github.com/repos/mimblewimble/grin/events","assignees_url":"https://api.github.com/repos/mimblewimble/grin/assignees{/user}","branches_url":"https://api.github.com/repos/mimblewimble/grin/branches{/branch}","tags_url":"https://api.github.com/repos/mimblewimble/grin/tags","blobs_url":"https://api.github.com/repos/mimblewimble/grin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mimblewimble/grin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mimblewimble/grin/git/refs{/sha}","trees_url":"https://api.github.com/repos/mimblewimble/grin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mimblewimble/grin/statuses/{sha}","languages_url":"https://api.github.com/repos/mimblewimble/grin/languages","stargazers_url":"https://api.github.com/repos/mimblewimble/grin/stargazers","contributors_url":"https://api.github.com/repos/mimblewimble/grin/contributors","subscribers_url":"https://api.github.com/repos/mimblewimble/grin/subscribers","subscription_url":"https://api.github.com/repos/mimblewimble/grin/subscription","commits_url":"https://api.github.com/repos/mimblewimble/grin/commits{/sha}","git_commits_url":"https://api.github.com/repos/mimblewimble/grin/git/commits{/sha}","comments_url":"https://api.github.com/repos/mimblewimble/grin/comments{/number}","issue_comment_url":"https://api.github.com/repos/mimblewimble/grin/issues/comments{/number}","contents_url":"https://api.github.com/repos/mimblewimble/grin/contents/{+path}","compare_url":"https://api.github.com/repos/mimblewimble/grin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mimblewimble/grin/merges","archive_url":"https://api.github.com/repos/mimblewimble/grin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mimblewimble/grin/downloads","issues_url":"https://api.github.com/repos/mimblewimble/grin/issues{/number}","pulls_url":"https://api.github.com/repos/mimblewimble/grin/pulls{/number}","milestones_url":"https://api.github.com/repos/mimblewimble/grin/milestones{/number}","notifications_url":"https://api.github.com/repos/mimblewimble/grin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mimblewimble/grin/labels{/name}","releases_url":"https://api.github.com/repos/mimblewimble/grin/releases{/id}","deployments_url":"https://api.github.com/repos/mimblewimble/grin/deployments","created_at":"2016-10-21T00:02:23Z","updated_at":"2018-11-21T07:19:42Z","pushed_at":"2018-11-21T14:35:39Z","git_url":"git://github.com/mimblewimble/grin.git","ssh_url":"git@github.com:mimblewimble/grin.git","clone_url":"https://github.com/mimblewimble/grin.git","svn_url":"https://github.com/mimblewimble/grin","homepage":"http://grin-tech.org/","size":12681,"stargazers_count":2616,"watchers_count":2616,"language":"Rust","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":420,"mirror_url":null,"archived":false,"open_issues_count":125,"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":420,"open_issues":125,"watchers":2616,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mimblewimble/grin/pulls/2003"},"html":{"href":"https://github.com/mimblewimble/grin/pull/2003"},"issue":{"href":"https://api.github.com/repos/mimblewimble/grin/issues/2003"},"comments":{"href":"https://api.github.com/repos/mimblewimble/grin/issues/2003/comments"},"review_comments":{"href":"https://api.github.com/repos/mimblewimble/grin/pulls/2003/comments"},"review_comment":{"href":"https://api.github.com/repos/mimblewimble/grin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mimblewimble/grin/pulls/2003/commits"},"statuses":{"href":"https://api.github.com/repos/mimblewimble/grin/statuses/24ebe737d3f1854ed72d5c39dac0bc003ff0e903"}},"author_association":"MEMBER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"antiochp","id":30642645,"node_id":"MDQ6VXNlcjMwNjQyNjQ1","avatar_url":"https://avatars2.githubusercontent.com/u/30642645?v=4","gravatar_id":"","url":"https://api.github.com/users/antiochp","html_url":"https://github.com/antiochp","followers_url":"https://api.github.com/users/antiochp/followers","following_url":"https://api.github.com/users/antiochp/following{/other_user}","gists_url":"https://api.github.com/users/antiochp/gists{/gist_id}","starred_url":"https://api.github.com/users/antiochp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antiochp/subscriptions","organizations_url":"https://api.github.com/users/antiochp/orgs","repos_url":"https://api.github.com/users/antiochp/repos","events_url":"https://api.github.com/users/antiochp/events{/privacy}","received_events_url":"https://api.github.com/users/antiochp/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"maintainer_can_modify":false,"commits":10,"additions":119,"deletions":55,"changed_files":5}}
{"actor":{"display_login":"antiochp"}}