summaryrefslogtreecommitdiff
path: root/bip-0069/bip-0069_examples.py
diff options
context:
space:
mode:
authorJustus Ranvier <justusranvier@riseup.net>2015-10-12 15:56:38 -0500
committerJustus Ranvier <justusranvier@riseup.net>2015-10-12 16:01:51 -0500
commitb930994728312cc4b6a5ea1bbe5ddb862b3ae3b4 (patch)
tree5e6751e5507c74c02aa978469acefce8b1fe025b /bip-0069/bip-0069_examples.py
parent0ea4b8922717d772674c80e86d12844c8f62c0fc (diff)
downloadbips-b930994728312cc4b6a5ea1bbe5ddb862b3ae3b4.tar.xz
Improve ECDH and blinding factor calculations
The blinding factor used for notification transactions incorporates and outpoint being spent by the notification transaction. This 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. Since 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.
Diffstat (limited to 'bip-0069/bip-0069_examples.py')
0 files changed, 0 insertions, 0 deletions