{"action":"closed","number":81,"pull_request":{"url":"https://api.github.com/repos/sipa/bitcoin/pulls/81","id":68801741,"html_url":"https://github.com/sipa/bitcoin/pull/81","diff_url":"https://github.com/sipa/bitcoin/pull/81.diff","patch_url":"https://github.com/sipa/bitcoin/pull/81.patch","issue_url":"https://api.github.com/repos/sipa/bitcoin/issues/81","number":81,"state":"closed","locked":false,"title":"Segwit script error unit tests","user":{"login":"jonasnick","id":2582071,"avatar_url":"https://avatars.githubusercontent.com/u/2582071?v=3","gravatar_id":"","url":"https://api.github.com/users/jonasnick","html_url":"https://github.com/jonasnick","followers_url":"https://api.github.com/users/jonasnick/followers","following_url":"https://api.github.com/users/jonasnick/following{/other_user}","gists_url":"https://api.github.com/users/jonasnick/gists{/gist_id}","starred_url":"https://api.github.com/users/jonasnick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonasnick/subscriptions","organizations_url":"https://api.github.com/users/jonasnick/orgs","repos_url":"https://api.github.com/users/jonasnick/repos","events_url":"https://api.github.com/users/jonasnick/events{/privacy}","received_events_url":"https://api.github.com/users/jonasnick/received_events","type":"User","site_admin":false},"body":"Adds a unit test for each witness related script error. In particular, it tests for `SCRIPT_ERR_WITNESS_MALLEATED_P2SH` which is currently untested (according to [the coverage report](https://dev.bitcoincore.org/cfields/post-segwit.coverage/src/script/interpreter.cpp.gcov.html).","created_at":"2016-05-04T01:53:46Z","updated_at":"2016-05-10T04:29:51Z","closed_at":"2016-05-10T04:29:51Z","merged_at":null,"merge_commit_sha":"bc621dfae7d0ccb56b9e1433529aeba512c11e5e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sipa/bitcoin/pulls/81/commits","review_comments_url":"https://api.github.com/repos/sipa/bitcoin/pulls/81/comments","review_comment_url":"https://api.github.com/repos/sipa/bitcoin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sipa/bitcoin/issues/81/comments","statuses_url":"https://api.github.com/repos/sipa/bitcoin/statuses/db57f390e59958db4c1b15ec599c24dc5102c85b","head":{"label":"jonasnick:segwit-script-tests","ref":"segwit-script-tests","sha":"db57f390e59958db4c1b15ec599c24dc5102c85b","user":{"login":"jonasnick","id":2582071,"avatar_url":"https://avatars.githubusercontent.com/u/2582071?v=3","gravatar_id":"","url":"https://api.github.com/users/jonasnick","html_url":"https://github.com/jonasnick","followers_url":"https://api.github.com/users/jonasnick/followers","following_url":"https://api.github.com/users/jonasnick/following{/other_user}","gists_url":"https://api.github.com/users/jonasnick/gists{/gist_id}","starred_url":"https://api.github.com/users/jonasnick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonasnick/subscriptions","organizations_url":"https://api.github.com/users/jonasnick/orgs","repos_url":"https://api.github.com/users/jonasnick/repos","events_url":"https://api.github.com/users/jonasnick/events{/privacy}","received_events_url":"https://api.github.com/users/jonasnick/received_events","type":"User","site_admin":false},"repo":{"id":16012454,"name":"bitcoin","full_name":"jonasnick/bitcoin","owner":{"login":"jonasnick","id":2582071,"avatar_url":"https://avatars.githubusercontent.com/u/2582071?v=3","gravatar_id":"","url":"https://api.github.com/users/jonasnick","html_url":"https://github.com/jonasnick","followers_url":"https://api.github.com/users/jonasnick/followers","following_url":"https://api.github.com/users/jonasnick/following{/other_user}","gists_url":"https://api.github.com/users/jonasnick/gists{/gist_id}","starred_url":"https://api.github.com/users/jonasnick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonasnick/subscriptions","organizations_url":"https://api.github.com/users/jonasnick/orgs","repos_url":"https://api.github.com/users/jonasnick/repos","events_url":"https://api.github.com/users/jonasnick/events{/privacy}","received_events_url":"https://api.github.com/users/jonasnick/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jonasnick/bitcoin","description":"Bitcoin Core integration/staging tree","fork":true,"url":"https://api.github.com/repos/jonasnick/bitcoin","forks_url":"https://api.github.com/repos/jonasnick/bitcoin/forks","keys_url":"https://api.github.com/repos/jonasnick/bitcoin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jonasnick/bitcoin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jonasnick/bitcoin/teams","hooks_url":"https://api.github.com/repos/jonasnick/bitcoin/hooks","issue_events_url":"https://api.github.com/repos/jonasnick/bitcoin/issues/events{/number}","events_url":"https://api.github.com/repos/jonasnick/bitcoin/events","assignees_url":"https://api.github.com/repos/jonasnick/bitcoin/assignees{/user}","branches_url":"https://api.github.com/repos/jonasnick/bitcoin/branches{/branch}","tags_url":"https://api.github.com/repos/jonasnick/bitcoin/tags","blobs_url":"https://api.github.com/repos/jonasnick/bitcoin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jonasnick/bitcoin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jonasnick/bitcoin/git/refs{/sha}","trees_url":"https://api.github.com/repos/jonasnick/bitcoin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jonasnick/bitcoin/statuses/{sha}","languages_url":"https://api.github.com/repos/jonasnick/bitcoin/languages","stargazers_url":"https://api.github.com/repos/jonasnick/bitcoin/stargazers","contributors_url":"https://api.github.com/repos/jonasnick/bitcoin/contributors","subscribers_url":"https://api.github.com/repos/jonasnick/bitcoin/subscribers","subscription_url":"https://api.github.com/repos/jonasnick/bitcoin/subscription","commits_url":"https://api.github.com/repos/jonasnick/bitcoin/commits{/sha}","git_commits_url":"https://api.github.com/repos/jonasnick/bitcoin/git/commits{/sha}","comments_url":"https://api.github.com/repos/jonasnick/bitcoin/comments{/number}","issue_comment_url":"https://api.github.com/repos/jonasnick/bitcoin/issues/comments{/number}","contents_url":"https://api.github.com/repos/jonasnick/bitcoin/contents/{+path}","compare_url":"https://api.github.com/repos/jonasnick/bitcoin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jonasnick/bitcoin/merges","archive_url":"https://api.github.com/repos/jonasnick/bitcoin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jonasnick/bitcoin/downloads","issues_url":"https://api.github.com/repos/jonasnick/bitcoin/issues{/number}","pulls_url":"https://api.github.com/repos/jonasnick/bitcoin/pulls{/number}","milestones_url":"https://api.github.com/repos/jonasnick/bitcoin/milestones{/number}","notifications_url":"https://api.github.com/repos/jonasnick/bitcoin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jonasnick/bitcoin/labels{/name}","releases_url":"https://api.github.com/repos/jonasnick/bitcoin/releases{/id}","deployments_url":"https://api.github.com/repos/jonasnick/bitcoin/deployments","created_at":"2014-01-17T21:37:45Z","updated_at":"2014-07-27T14:54:18Z","pushed_at":"2016-05-04T01:44:57Z","git_url":"git://github.com/jonasnick/bitcoin.git","ssh_url":"git@github.com:jonasnick/bitcoin.git","clone_url":"https://github.com/jonasnick/bitcoin.git","svn_url":"https://github.com/jonasnick/bitcoin","homepage":"http://bitcoin.org/en/download","size":59083,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"sipa:segwit-master","ref":"segwit-master","sha":"ad4f9c71d030b2de822c4b9245d818479a66b605","user":{"login":"sipa","id":548488,"avatar_url":"https://avatars.githubusercontent.com/u/548488?v=3","gravatar_id":"","url":"https://api.github.com/users/sipa","html_url":"https://github.com/sipa","followers_url":"https://api.github.com/users/sipa/followers","following_url":"https://api.github.com/users/sipa/following{/other_user}","gists_url":"https://api.github.com/users/sipa/gists{/gist_id}","starred_url":"https://api.github.com/users/sipa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sipa/subscriptions","organizations_url":"https://api.github.com/users/sipa/orgs","repos_url":"https://api.github.com/users/sipa/repos","events_url":"https://api.github.com/users/sipa/events{/privacy}","received_events_url":"https://api.github.com/users/sipa/received_events","type":"User","site_admin":false},"repo":{"id":1458655,"name":"bitcoin","full_name":"sipa/bitcoin","owner":{"login":"sipa","id":548488,"avatar_url":"https://avatars.githubusercontent.com/u/548488?v=3","gravatar_id":"","url":"https://api.github.com/users/sipa","html_url":"https://github.com/sipa","followers_url":"https://api.github.com/users/sipa/followers","following_url":"https://api.github.com/users/sipa/following{/other_user}","gists_url":"https://api.github.com/users/sipa/gists{/gist_id}","starred_url":"https://api.github.com/users/sipa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sipa/subscriptions","organizations_url":"https://api.github.com/users/sipa/orgs","repos_url":"https://api.github.com/users/sipa/repos","events_url":"https://api.github.com/users/sipa/events{/privacy}","received_events_url":"https://api.github.com/users/sipa/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sipa/bitcoin","description":"Bitcoin integration/staging tree","fork":true,"url":"https://api.github.com/repos/sipa/bitcoin","forks_url":"https://api.github.com/repos/sipa/bitcoin/forks","keys_url":"https://api.github.com/repos/sipa/bitcoin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sipa/bitcoin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sipa/bitcoin/teams","hooks_url":"https://api.github.com/repos/sipa/bitcoin/hooks","issue_events_url":"https://api.github.com/repos/sipa/bitcoin/issues/events{/number}","events_url":"https://api.github.com/repos/sipa/bitcoin/events","assignees_url":"https://api.github.com/repos/sipa/bitcoin/assignees{/user}","branches_url":"https://api.github.com/repos/sipa/bitcoin/branches{/branch}","tags_url":"https://api.github.com/repos/sipa/bitcoin/tags","blobs_url":"https://api.github.com/repos/sipa/bitcoin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sipa/bitcoin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sipa/bitcoin/git/refs{/sha}","trees_url":"https://api.github.com/repos/sipa/bitcoin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sipa/bitcoin/statuses/{sha}","languages_url":"https://api.github.com/repos/sipa/bitcoin/languages","stargazers_url":"https://api.github.com/repos/sipa/bitcoin/stargazers","contributors_url":"https://api.github.com/repos/sipa/bitcoin/contributors","subscribers_url":"https://api.github.com/repos/sipa/bitcoin/subscribers","subscription_url":"https://api.github.com/repos/sipa/bitcoin/subscription","commits_url":"https://api.github.com/repos/sipa/bitcoin/commits{/sha}","git_commits_url":"https://api.github.com/repos/sipa/bitcoin/git/commits{/sha}","comments_url":"https://api.github.com/repos/sipa/bitcoin/comments{/number}","issue_comment_url":"https://api.github.com/repos/sipa/bitcoin/issues/comments{/number}","contents_url":"https://api.github.com/repos/sipa/bitcoin/contents/{+path}","compare_url":"https://api.github.com/repos/sipa/bitcoin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sipa/bitcoin/merges","archive_url":"https://api.github.com/repos/sipa/bitcoin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sipa/bitcoin/downloads","issues_url":"https://api.github.com/repos/sipa/bitcoin/issues{/number}","pulls_url":"https://api.github.com/repos/sipa/bitcoin/pulls{/number}","milestones_url":"https://api.github.com/repos/sipa/bitcoin/milestones{/number}","notifications_url":"https://api.github.com/repos/sipa/bitcoin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sipa/bitcoin/labels{/name}","releases_url":"https://api.github.com/repos/sipa/bitcoin/releases{/id}","deployments_url":"https://api.github.com/repos/sipa/bitcoin/deployments","created_at":"2011-03-09T10:46:59Z","updated_at":"2016-04-04T17:59:14Z","pushed_at":"2016-05-10T01:53:18Z","git_url":"git://github.com/sipa/bitcoin.git","ssh_url":"git@github.com:sipa/bitcoin.git","clone_url":"https://github.com/sipa/bitcoin.git","svn_url":"https://github.com/sipa/bitcoin","homepage":"http://www.bitcoin.org","size":65712,"stargazers_count":47,"watchers_count":47,"language":"TypeScript","has_issues":true,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":13,"forks":11,"open_issues":13,"watchers":47,"default_branch":"lows"}},"_links":{"self":{"href":"https://api.github.com/repos/sipa/bitcoin/pulls/81"},"html":{"href":"https://github.com/sipa/bitcoin/pull/81"},"issue":{"href":"https://api.github.com/repos/sipa/bitcoin/issues/81"},"comments":{"href":"https://api.github.com/repos/sipa/bitcoin/issues/81/comments"},"review_comments":{"href":"https://api.github.com/repos/sipa/bitcoin/pulls/81/comments"},"review_comment":{"href":"https://api.github.com/repos/sipa/bitcoin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sipa/bitcoin/pulls/81/commits"},"statuses":{"href":"https://api.github.com/repos/sipa/bitcoin/statuses/db57f390e59958db4c1b15ec599c24dc5102c85b"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":1,"review_comments":0,"commits":3,"additions":4961,"deletions":611,"changed_files":94}}