{"action":"created","comment":{"url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/pulls/comments/85555736","pull_request_review_id":6267236,"id":85555736,"diff_hunk":"@@ -441,6 +461,7 @@ module.exports = {\n   isMultisigOutput: isMultisigOutput,\n   isNullDataOutput: isNullDataOutput,\n \n+  parseMultisigScript: parseMultisigScript,","path":"src/script.js","position":105,"original_position":105,"commit_id":"23616404236a317d13e29c1c62580da5c079c242","original_commit_id":"23616404236a317d13e29c1c62580da5c079c242","user":{"login":"afk11","id":5617245,"avatar_url":"https://avatars.githubusercontent.com/u/5617245?v=3","gravatar_id":"","url":"https://api.github.com/users/afk11","html_url":"https://github.com/afk11","followers_url":"https://api.github.com/users/afk11/followers","following_url":"https://api.github.com/users/afk11/following{/other_user}","gists_url":"https://api.github.com/users/afk11/gists{/gist_id}","starred_url":"https://api.github.com/users/afk11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afk11/subscriptions","organizations_url":"https://api.github.com/users/afk11/orgs","repos_url":"https://api.github.com/users/afk11/repos","events_url":"https://api.github.com/users/afk11/events{/privacy}","received_events_url":"https://api.github.com/users/afk11/received_events","type":"User","site_admin":false},"body":"Yeah, it probably makes sense to do this for the scripts we support signing. While classifying we basically turn up the same information, so unifying that is good (avoids the need to call decompile a second time to get your script hash or whatever)","created_at":"2016-10-28T15:38:22Z","updated_at":"2016-10-28T15:38:23Z","html_url":"https://github.com/bitcoinjs/bitcoinjs-lib/pull/680#discussion_r85555736","pull_request_url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/pulls/680","_links":{"self":{"href":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/pulls/comments/85555736"},"html":{"href":"https://github.com/bitcoinjs/bitcoinjs-lib/pull/680#discussion_r85555736"},"pull_request":{"href":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/pulls/680"}}},"pull_request":{"url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/pulls/680","id":91182871,"html_url":"https://github.com/bitcoinjs/bitcoinjs-lib/pull/680","diff_url":"https://github.com/bitcoinjs/bitcoinjs-lib/pull/680.diff","patch_url":"https://github.com/bitcoinjs/bitcoinjs-lib/pull/680.patch","issue_url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/issues/680","number":680,"state":"open","locked":false,"title":"Script: add function for parsing multisig type scripts","user":{"login":"afk11","id":5617245,"avatar_url":"https://avatars.githubusercontent.com/u/5617245?v=3","gravatar_id":"","url":"https://api.github.com/users/afk11","html_url":"https://github.com/afk11","followers_url":"https://api.github.com/users/afk11/followers","following_url":"https://api.github.com/users/afk11/following{/other_user}","gists_url":"https://api.github.com/users/afk11/gists{/gist_id}","starred_url":"https://api.github.com/users/afk11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afk11/subscriptions","organizations_url":"https://api.github.com/users/afk11/orgs","repos_url":"https://api.github.com/users/afk11/repos","events_url":"https://api.github.com/users/afk11/events{/privacy}","received_events_url":"https://api.github.com/users/afk11/received_events","type":"User","site_admin":false},"body":"Figure this is handy since it's duplicated in script.js","created_at":"2016-10-27T11:36:27Z","updated_at":"2016-10-28T15:38:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4cec49a8087a6a7656064b42af9dde9879c8bdc7","assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/milestones/12","html_url":"https://github.com/bitcoinjs/bitcoinjs-lib/milestones/3.0.0","labels_url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/milestones/12/labels","id":1584233,"number":12,"title":"3.0.0","description":"","creator":{"login":"dcousens","id":413395,"avatar_url":"https://avatars.githubusercontent.com/u/413395?v=3","gravatar_id":"","url":"https://api.github.com/users/dcousens","html_url":"https://github.com/dcousens","followers_url":"https://api.github.com/users/dcousens/followers","following_url":"https://api.github.com/users/dcousens/following{/other_user}","gists_url":"https://api.github.com/users/dcousens/gists{/gist_id}","starred_url":"https://api.github.com/users/dcousens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcousens/subscriptions","organizations_url":"https://api.github.com/users/dcousens/orgs","repos_url":"https://api.github.com/users/dcousens/repos","events_url":"https://api.github.com/users/dcousens/events{/privacy}","received_events_url":"https://api.github.com/users/dcousens/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":28,"state":"open","created_at":"2016-02-15T20:39:09Z","updated_at":"2016-10-28T04:25:59Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/pulls/680/commits","review_comments_url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/pulls/680/comments","review_comment_url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/issues/680/comments","statuses_url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/statuses/23616404236a317d13e29c1c62580da5c079c242","head":{"label":"afk11:script-parsemultisigs","ref":"script-parsemultisigs","sha":"23616404236a317d13e29c1c62580da5c079c242","user":{"login":"afk11","id":5617245,"avatar_url":"https://avatars.githubusercontent.com/u/5617245?v=3","gravatar_id":"","url":"https://api.github.com/users/afk11","html_url":"https://github.com/afk11","followers_url":"https://api.github.com/users/afk11/followers","following_url":"https://api.github.com/users/afk11/following{/other_user}","gists_url":"https://api.github.com/users/afk11/gists{/gist_id}","starred_url":"https://api.github.com/users/afk11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afk11/subscriptions","organizations_url":"https://api.github.com/users/afk11/orgs","repos_url":"https://api.github.com/users/afk11/repos","events_url":"https://api.github.com/users/afk11/events{/privacy}","received_events_url":"https://api.github.com/users/afk11/received_events","type":"User","site_admin":false},"repo":{"id":51187699,"name":"bitcoinjs-lib","full_name":"afk11/bitcoinjs-lib","owner":{"login":"afk11","id":5617245,"avatar_url":"https://avatars.githubusercontent.com/u/5617245?v=3","gravatar_id":"","url":"https://api.github.com/users/afk11","html_url":"https://github.com/afk11","followers_url":"https://api.github.com/users/afk11/followers","following_url":"https://api.github.com/users/afk11/following{/other_user}","gists_url":"https://api.github.com/users/afk11/gists{/gist_id}","starred_url":"https://api.github.com/users/afk11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afk11/subscriptions","organizations_url":"https://api.github.com/users/afk11/orgs","repos_url":"https://api.github.com/users/afk11/repos","events_url":"https://api.github.com/users/afk11/events{/privacy}","received_events_url":"https://api.github.com/users/afk11/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/afk11/bitcoinjs-lib","description":"Bitcoin-related functions implemented in pure JavaScript","fork":true,"url":"https://api.github.com/repos/afk11/bitcoinjs-lib","forks_url":"https://api.github.com/repos/afk11/bitcoinjs-lib/forks","keys_url":"https://api.github.com/repos/afk11/bitcoinjs-lib/keys{/key_id}","collaborators_url":"https://api.github.com/repos/afk11/bitcoinjs-lib/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/afk11/bitcoinjs-lib/teams","hooks_url":"https://api.github.com/repos/afk11/bitcoinjs-lib/hooks","issue_events_url":"https://api.github.com/repos/afk11/bitcoinjs-lib/issues/events{/number}","events_url":"https://api.github.com/repos/afk11/bitcoinjs-lib/events","assignees_url":"https://api.github.com/repos/afk11/bitcoinjs-lib/assignees{/user}","branches_url":"https://api.github.com/repos/afk11/bitcoinjs-lib/branches{/branch}","tags_url":"https://api.github.com/repos/afk11/bitcoinjs-lib/tags","blobs_url":"https://api.github.com/repos/afk11/bitcoinjs-lib/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/afk11/bitcoinjs-lib/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/afk11/bitcoinjs-lib/git/refs{/sha}","trees_url":"https://api.github.com/repos/afk11/bitcoinjs-lib/git/trees{/sha}","statuses_url":"https://api.github.com/repos/afk11/bitcoinjs-lib/statuses/{sha}","languages_url":"https://api.github.com/repos/afk11/bitcoinjs-lib/languages","stargazers_url":"https://api.github.com/repos/afk11/bitcoinjs-lib/stargazers","contributors_url":"https://api.github.com/repos/afk11/bitcoinjs-lib/contributors","subscribers_url":"https://api.github.com/repos/afk11/bitcoinjs-lib/subscribers","subscription_url":"https://api.github.com/repos/afk11/bitcoinjs-lib/subscription","commits_url":"https://api.github.com/repos/afk11/bitcoinjs-lib/commits{/sha}","git_commits_url":"https://api.github.com/repos/afk11/bitcoinjs-lib/git/commits{/sha}","comments_url":"https://api.github.com/repos/afk11/bitcoinjs-lib/comments{/number}","issue_comment_url":"https://api.github.com/repos/afk11/bitcoinjs-lib/issues/comments{/number}","contents_url":"https://api.github.com/repos/afk11/bitcoinjs-lib/contents/{+path}","compare_url":"https://api.github.com/repos/afk11/bitcoinjs-lib/compare/{base}...{head}","merges_url":"https://api.github.com/repos/afk11/bitcoinjs-lib/merges","archive_url":"https://api.github.com/repos/afk11/bitcoinjs-lib/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/afk11/bitcoinjs-lib/downloads","issues_url":"https://api.github.com/repos/afk11/bitcoinjs-lib/issues{/number}","pulls_url":"https://api.github.com/repos/afk11/bitcoinjs-lib/pulls{/number}","milestones_url":"https://api.github.com/repos/afk11/bitcoinjs-lib/milestones{/number}","notifications_url":"https://api.github.com/repos/afk11/bitcoinjs-lib/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/afk11/bitcoinjs-lib/labels{/name}","releases_url":"https://api.github.com/repos/afk11/bitcoinjs-lib/releases{/id}","deployments_url":"https://api.github.com/repos/afk11/bitcoinjs-lib/deployments","created_at":"2016-02-06T03:24:35Z","updated_at":"2016-02-06T03:24:36Z","pushed_at":"2016-10-27T11:33:00Z","git_url":"git://github.com/afk11/bitcoinjs-lib.git","ssh_url":"git@github.com:afk11/bitcoinjs-lib.git","clone_url":"https://github.com/afk11/bitcoinjs-lib.git","svn_url":"https://github.com/afk11/bitcoinjs-lib","homepage":"http://bitcoinjs.org","size":2511,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"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":"bitcoinjs:master","ref":"master","sha":"405c0058023b01fe337c99a806b4feea8095851e","user":{"login":"bitcoinjs","id":756696,"avatar_url":"https://avatars.githubusercontent.com/u/756696?v=3","gravatar_id":"","url":"https://api.github.com/users/bitcoinjs","html_url":"https://github.com/bitcoinjs","followers_url":"https://api.github.com/users/bitcoinjs/followers","following_url":"https://api.github.com/users/bitcoinjs/following{/other_user}","gists_url":"https://api.github.com/users/bitcoinjs/gists{/gist_id}","starred_url":"https://api.github.com/users/bitcoinjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitcoinjs/subscriptions","organizations_url":"https://api.github.com/users/bitcoinjs/orgs","repos_url":"https://api.github.com/users/bitcoinjs/repos","events_url":"https://api.github.com/users/bitcoinjs/events{/privacy}","received_events_url":"https://api.github.com/users/bitcoinjs/received_events","type":"Organization","site_admin":false},"repo":{"id":1701968,"name":"bitcoinjs-lib","full_name":"bitcoinjs/bitcoinjs-lib","owner":{"login":"bitcoinjs","id":756696,"avatar_url":"https://avatars.githubusercontent.com/u/756696?v=3","gravatar_id":"","url":"https://api.github.com/users/bitcoinjs","html_url":"https://github.com/bitcoinjs","followers_url":"https://api.github.com/users/bitcoinjs/followers","following_url":"https://api.github.com/users/bitcoinjs/following{/other_user}","gists_url":"https://api.github.com/users/bitcoinjs/gists{/gist_id}","starred_url":"https://api.github.com/users/bitcoinjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitcoinjs/subscriptions","organizations_url":"https://api.github.com/users/bitcoinjs/orgs","repos_url":"https://api.github.com/users/bitcoinjs/repos","events_url":"https://api.github.com/users/bitcoinjs/events{/privacy}","received_events_url":"https://api.github.com/users/bitcoinjs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bitcoinjs/bitcoinjs-lib","description":"Bitcoin-related functions implemented in pure JavaScript","fork":false,"url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib","forks_url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/forks","keys_url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/teams","hooks_url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/hooks","issue_events_url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/issues/events{/number}","events_url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/events","assignees_url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/assignees{/user}","branches_url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/branches{/branch}","tags_url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/tags","blobs_url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/git/refs{/sha}","trees_url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/statuses/{sha}","languages_url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/languages","stargazers_url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/stargazers","contributors_url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/contributors","subscribers_url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/subscribers","subscription_url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/subscription","commits_url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/commits{/sha}","git_commits_url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/git/commits{/sha}","comments_url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/comments{/number}","issue_comment_url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/issues/comments{/number}","contents_url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/contents/{+path}","compare_url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/merges","archive_url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/downloads","issues_url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/issues{/number}","pulls_url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/pulls{/number}","milestones_url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/milestones{/number}","notifications_url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/labels{/name}","releases_url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/releases{/id}","deployments_url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/deployments","created_at":"2011-05-04T16:03:45Z","updated_at":"2016-10-27T09:44:11Z","pushed_at":"2016-10-27T11:36:27Z","git_url":"git://github.com/bitcoinjs/bitcoinjs-lib.git","ssh_url":"git@github.com:bitcoinjs/bitcoinjs-lib.git","clone_url":"https://github.com/bitcoinjs/bitcoinjs-lib.git","svn_url":"https://github.com/bitcoinjs/bitcoinjs-lib","homepage":"http://bitcoinjs.org","size":25521,"stargazers_count":1206,"watchers_count":1206,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":402,"mirror_url":null,"open_issues_count":19,"forks":402,"open_issues":19,"watchers":1206,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/pulls/680"},"html":{"href":"https://github.com/bitcoinjs/bitcoinjs-lib/pull/680"},"issue":{"href":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/issues/680"},"comments":{"href":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/issues/680/comments"},"review_comments":{"href":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/pulls/680/comments"},"review_comment":{"href":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/pulls/680/commits"},"statuses":{"href":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/statuses/23616404236a317d13e29c1c62580da5c079c242"}}}}
{"actor":{"display_login":"afk11"}}