1
0
mirror of https://github.com/bitcoin/bips.git synced 2024-11-19 18:00:08 +01:00
Commit Graph

7 Commits

Author SHA1 Message Date
Justus Ranvier
b930994728 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.
2015-10-12 16:01:51 -05:00
Justus Ranvier
873827d796
BIP-47: correct base58check version byte
Previously specified version byte only produced the desired leading character if the check bytes were omitted

Thanks to TD from Samourai Wallet for pointing this out
2015-09-21 17:07:39 -05:00
Justus Ranvier
c375301fa8
BIP-47: Clarify decoding of notification transactions
Specify procedure for extracting payment codes from notification transactions.

Add explicit check that payment code x values are valid for secp256k1
2015-09-18 13:30:07 -05:00
Justus Ranvier
e700392b15 improve Bitmessage key derivation 2015-07-10 12:36:02 -05:00
Justus Ranvier
2616c9abc3 add mailing list discussion reference 2015-07-10 12:36:02 -05:00
Justus Ranvier
114ed229d3 Correct serialization
Since the length of the data encoded by base58check affects the version
byte needed to produce a desired leading character, fix the length of
the payment code at 80 bytes, and correct the version byte to 0x23
2015-07-10 12:36:02 -05:00
Justus Ranvier
1612a0016a BIP-0047: Reusable payment codes
Payment codes are SPV-friendly alternatives to DarkWallet-style stealth
addresses which provide useful features such as positively identifying
senders to recipients and automatically providing for transaction refunds.

Payment codes can be publicly advertised and associated with a real-life
identity without causing a loss of financial privacy.

Compared to stealth addresses, payment codes require less blockchain data
storage.

Payment codes require 65 bytes of OP_RETURN data per sender-recipient pair,
while stealth addresses require 40 bytes per transaction.
2015-07-10 12:36:02 -05:00