{"action":"closed","number":220,"pull_request":{"url":"https://api.github.com/repos/bitcoin/bips/pulls/220","id":47464622,"html_url":"https://github.com/bitcoin/bips/pull/220","diff_url":"https://github.com/bitcoin/bips/pull/220.diff","patch_url":"https://github.com/bitcoin/bips/pull/220.patch","issue_url":"https://api.github.com/repos/bitcoin/bips/issues/220","number":220,"state":"closed","locked":false,"title":"Improve ECDH and blinding factor calculations","user":{"login":"justusranvier","id":1255702,"avatar_url":"https://avatars.githubusercontent.com/u/1255702?v=3","gravatar_id":"","url":"https://api.github.com/users/justusranvier","html_url":"https://github.com/justusranvier","followers_url":"https://api.github.com/users/justusranvier/followers","following_url":"https://api.github.com/users/justusranvier/following{/other_user}","gists_url":"https://api.github.com/users/justusranvier/gists{/gist_id}","starred_url":"https://api.github.com/users/justusranvier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justusranvier/subscriptions","organizations_url":"https://api.github.com/users/justusranvier/orgs","repos_url":"https://api.github.com/users/justusranvier/repos","events_url":"https://api.github.com/users/justusranvier/events{/privacy}","received_events_url":"https://api.github.com/users/justusranvier/received_events","type":"User","site_admin":false},"body":"The blinding factor used for notification transactions incorporates and outpoint being spent by the notification transaction.\r\n\r\nThis ensures that blinding factors will always be unique, even if a user sends a notification transaction to the same recipient multiple times while spending funds from the same address.\r\n\r\nSince some common EC libraries have ECDH functions that only return the x value of the resulting point, only use the x value for calculating scalar shared secrets.","created_at":"2015-10-12T21:07:42Z","updated_at":"2015-10-16T20:25:38Z","closed_at":"2015-10-16T20:25:38Z","merged_at":"2015-10-16T20:25:38Z","merge_commit_sha":"4e65f992deec1dfedc7a601c20ea58f90a8c5f23","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/bitcoin/bips/pulls/220/commits","review_comments_url":"https://api.github.com/repos/bitcoin/bips/pulls/220/comments","review_comment_url":"https://api.github.com/repos/bitcoin/bips/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bitcoin/bips/issues/220/comments","statuses_url":"https://api.github.com/repos/bitcoin/bips/statuses/b930994728312cc4b6a5ea1bbe5ddb862b3ae3b4","head":{"label":"justusranvier:shared_secret","ref":"shared_secret","sha":"b930994728312cc4b6a5ea1bbe5ddb862b3ae3b4","user":{"login":"justusranvier","id":1255702,"avatar_url":"https://avatars.githubusercontent.com/u/1255702?v=3","gravatar_id":"","url":"https://api.github.com/users/justusranvier","html_url":"https://github.com/justusranvier","followers_url":"https://api.github.com/users/justusranvier/followers","following_url":"https://api.github.com/users/justusranvier/following{/other_user}","gists_url":"https://api.github.com/users/justusranvier/gists{/gist_id}","starred_url":"https://api.github.com/users/justusranvier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justusranvier/subscriptions","organizations_url":"https://api.github.com/users/justusranvier/orgs","repos_url":"https://api.github.com/users/justusranvier/repos","events_url":"https://api.github.com/users/justusranvier/events{/privacy}","received_events_url":"https://api.github.com/users/justusranvier/received_events","type":"User","site_admin":false},"repo":{"id":22880967,"name":"bips","full_name":"justusranvier/bips","owner":{"login":"justusranvier","id":1255702,"avatar_url":"https://avatars.githubusercontent.com/u/1255702?v=3","gravatar_id":"","url":"https://api.github.com/users/justusranvier","html_url":"https://github.com/justusranvier","followers_url":"https://api.github.com/users/justusranvier/followers","following_url":"https://api.github.com/users/justusranvier/following{/other_user}","gists_url":"https://api.github.com/users/justusranvier/gists{/gist_id}","starred_url":"https://api.github.com/users/justusranvier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justusranvier/subscriptions","organizations_url":"https://api.github.com/users/justusranvier/orgs","repos_url":"https://api.github.com/users/justusranvier/repos","events_url":"https://api.github.com/users/justusranvier/events{/privacy}","received_events_url":"https://api.github.com/users/justusranvier/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/justusranvier/bips","description":"Bitcoin Improvement Proposals","fork":true,"url":"https://api.github.com/repos/justusranvier/bips","forks_url":"https://api.github.com/repos/justusranvier/bips/forks","keys_url":"https://api.github.com/repos/justusranvier/bips/keys{/key_id}","collaborators_url":"https://api.github.com/repos/justusranvier/bips/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/justusranvier/bips/teams","hooks_url":"https://api.github.com/repos/justusranvier/bips/hooks","issue_events_url":"https://api.github.com/repos/justusranvier/bips/issues/events{/number}","events_url":"https://api.github.com/repos/justusranvier/bips/events","assignees_url":"https://api.github.com/repos/justusranvier/bips/assignees{/user}","branches_url":"https://api.github.com/repos/justusranvier/bips/branches{/branch}","tags_url":"https://api.github.com/repos/justusranvier/bips/tags","blobs_url":"https://api.github.com/repos/justusranvier/bips/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/justusranvier/bips/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/justusranvier/bips/git/refs{/sha}","trees_url":"https://api.github.com/repos/justusranvier/bips/git/trees{/sha}","statuses_url":"https://api.github.com/repos/justusranvier/bips/statuses/{sha}","languages_url":"https://api.github.com/repos/justusranvier/bips/languages","stargazers_url":"https://api.github.com/repos/justusranvier/bips/stargazers","contributors_url":"https://api.github.com/repos/justusranvier/bips/contributors","subscribers_url":"https://api.github.com/repos/justusranvier/bips/subscribers","subscription_url":"https://api.github.com/repos/justusranvier/bips/subscription","commits_url":"https://api.github.com/repos/justusranvier/bips/commits{/sha}","git_commits_url":"https://api.github.com/repos/justusranvier/bips/git/commits{/sha}","comments_url":"https://api.github.com/repos/justusranvier/bips/comments{/number}","issue_comment_url":"https://api.github.com/repos/justusranvier/bips/issues/comments{/number}","contents_url":"https://api.github.com/repos/justusranvier/bips/contents/{+path}","compare_url":"https://api.github.com/repos/justusranvier/bips/compare/{base}...{head}","merges_url":"https://api.github.com/repos/justusranvier/bips/merges","archive_url":"https://api.github.com/repos/justusranvier/bips/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/justusranvier/bips/downloads","issues_url":"https://api.github.com/repos/justusranvier/bips/issues{/number}","pulls_url":"https://api.github.com/repos/justusranvier/bips/pulls{/number}","milestones_url":"https://api.github.com/repos/justusranvier/bips/milestones{/number}","notifications_url":"https://api.github.com/repos/justusranvier/bips/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/justusranvier/bips/labels{/name}","releases_url":"https://api.github.com/repos/justusranvier/bips/releases{/id}","created_at":"2014-08-12T14:44:06Z","updated_at":"2015-09-21T21:53:18Z","pushed_at":"2015-10-12T21:05:51Z","git_url":"git://github.com/justusranvier/bips.git","ssh_url":"git@github.com:justusranvier/bips.git","clone_url":"https://github.com/justusranvier/bips.git","svn_url":"https://github.com/justusranvier/bips","homepage":"bitcoin.org","size":1277,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"bitcoin:master","ref":"master","sha":"0ea4b8922717d772674c80e86d12844c8f62c0fc","user":{"login":"bitcoin","id":528860,"avatar_url":"https://avatars.githubusercontent.com/u/528860?v=3","gravatar_id":"","url":"https://api.github.com/users/bitcoin","html_url":"https://github.com/bitcoin","followers_url":"https://api.github.com/users/bitcoin/followers","following_url":"https://api.github.com/users/bitcoin/following{/other_user}","gists_url":"https://api.github.com/users/bitcoin/gists{/gist_id}","starred_url":"https://api.github.com/users/bitcoin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitcoin/subscriptions","organizations_url":"https://api.github.com/users/bitcoin/orgs","repos_url":"https://api.github.com/users/bitcoin/repos","events_url":"https://api.github.com/users/bitcoin/events{/privacy}","received_events_url":"https://api.github.com/users/bitcoin/received_events","type":"Organization","site_admin":false},"repo":{"id":14531737,"name":"bips","full_name":"bitcoin/bips","owner":{"login":"bitcoin","id":528860,"avatar_url":"https://avatars.githubusercontent.com/u/528860?v=3","gravatar_id":"","url":"https://api.github.com/users/bitcoin","html_url":"https://github.com/bitcoin","followers_url":"https://api.github.com/users/bitcoin/followers","following_url":"https://api.github.com/users/bitcoin/following{/other_user}","gists_url":"https://api.github.com/users/bitcoin/gists{/gist_id}","starred_url":"https://api.github.com/users/bitcoin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitcoin/subscriptions","organizations_url":"https://api.github.com/users/bitcoin/orgs","repos_url":"https://api.github.com/users/bitcoin/repos","events_url":"https://api.github.com/users/bitcoin/events{/privacy}","received_events_url":"https://api.github.com/users/bitcoin/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bitcoin/bips","description":"Bitcoin Improvement Proposals","fork":true,"url":"https://api.github.com/repos/bitcoin/bips","forks_url":"https://api.github.com/repos/bitcoin/bips/forks","keys_url":"https://api.github.com/repos/bitcoin/bips/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bitcoin/bips/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bitcoin/bips/teams","hooks_url":"https://api.github.com/repos/bitcoin/bips/hooks","issue_events_url":"https://api.github.com/repos/bitcoin/bips/issues/events{/number}","events_url":"https://api.github.com/repos/bitcoin/bips/events","assignees_url":"https://api.github.com/repos/bitcoin/bips/assignees{/user}","branches_url":"https://api.github.com/repos/bitcoin/bips/branches{/branch}","tags_url":"https://api.github.com/repos/bitcoin/bips/tags","blobs_url":"https://api.github.com/repos/bitcoin/bips/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bitcoin/bips/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bitcoin/bips/git/refs{/sha}","trees_url":"https://api.github.com/repos/bitcoin/bips/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bitcoin/bips/statuses/{sha}","languages_url":"https://api.github.com/repos/bitcoin/bips/languages","stargazers_url":"https://api.github.com/repos/bitcoin/bips/stargazers","contributors_url":"https://api.github.com/repos/bitcoin/bips/contributors","subscribers_url":"https://api.github.com/repos/bitcoin/bips/subscribers","subscription_url":"https://api.github.com/repos/bitcoin/bips/subscription","commits_url":"https://api.github.com/repos/bitcoin/bips/commits{/sha}","git_commits_url":"https://api.github.com/repos/bitcoin/bips/git/commits{/sha}","comments_url":"https://api.github.com/repos/bitcoin/bips/comments{/number}","issue_comment_url":"https://api.github.com/repos/bitcoin/bips/issues/comments{/number}","contents_url":"https://api.github.com/repos/bitcoin/bips/contents/{+path}","compare_url":"https://api.github.com/repos/bitcoin/bips/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bitcoin/bips/merges","archive_url":"https://api.github.com/repos/bitcoin/bips/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bitcoin/bips/downloads","issues_url":"https://api.github.com/repos/bitcoin/bips/issues{/number}","pulls_url":"https://api.github.com/repos/bitcoin/bips/pulls{/number}","milestones_url":"https://api.github.com/repos/bitcoin/bips/milestones{/number}","notifications_url":"https://api.github.com/repos/bitcoin/bips/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bitcoin/bips/labels{/name}","releases_url":"https://api.github.com/repos/bitcoin/bips/releases{/id}","created_at":"2013-11-19T17:18:41Z","updated_at":"2015-10-14T05:40:49Z","pushed_at":"2015-10-16T20:25:38Z","git_url":"git://github.com/bitcoin/bips.git","ssh_url":"git@github.com:bitcoin/bips.git","clone_url":"https://github.com/bitcoin/bips.git","svn_url":"https://github.com/bitcoin/bips","homepage":"bitcoin.org","size":3972,"stargazers_count":417,"watchers_count":417,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":232,"mirror_url":null,"open_issues_count":21,"forks":232,"open_issues":21,"watchers":417,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bitcoin/bips/pulls/220"},"html":{"href":"https://github.com/bitcoin/bips/pull/220"},"issue":{"href":"https://api.github.com/repos/bitcoin/bips/issues/220"},"comments":{"href":"https://api.github.com/repos/bitcoin/bips/issues/220/comments"},"review_comments":{"href":"https://api.github.com/repos/bitcoin/bips/pulls/220/comments"},"review_comment":{"href":"https://api.github.com/repos/bitcoin/bips/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bitcoin/bips/pulls/220/commits"},"statuses":{"href":"https://api.github.com/repos/bitcoin/bips/statuses/b930994728312cc4b6a5ea1bbe5ddb862b3ae3b4"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"luke-jr","id":1095675,"avatar_url":"https://avatars.githubusercontent.com/u/1095675?v=3","gravatar_id":"","url":"https://api.github.com/users/luke-jr","html_url":"https://github.com/luke-jr","followers_url":"https://api.github.com/users/luke-jr/followers","following_url":"https://api.github.com/users/luke-jr/following{/other_user}","gists_url":"https://api.github.com/users/luke-jr/gists{/gist_id}","starred_url":"https://api.github.com/users/luke-jr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luke-jr/subscriptions","organizations_url":"https://api.github.com/users/luke-jr/orgs","repos_url":"https://api.github.com/users/luke-jr/repos","events_url":"https://api.github.com/users/luke-jr/events{/privacy}","received_events_url":"https://api.github.com/users/luke-jr/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":13,"deletions":8,"changed_files":1}}