[BIP proposal] Private Payments



Summary:

In an update to a previous specification, it has been decided that Bob does not need to watch all address types he's advertising. Instead, when notifying him, Alice will pick one address type out of the ones Bob is advertising and include it in the notification. This means that even if Bob's wallet accepts many address types, he still doesn't have to watch all of them for each Alice. The new payload has been extended to 73 bytes and defined as `BIPXXXX + notification + N_Alice + address_type`, where `address_type` is a single byte containing the desired address type index. This is limited by Bob's payment code and enables Alice to start sending to a different address type by simply re-notifying Bob, who will then switch to a new address type in the case of Alice.Previously, the spec had stated that Alice should construct a 72-byte OP_RETURN output whose value would be set to `BIPXXXX + notification + N_Alice`. The updated spec now includes the `address_type` as well. The value of `XXXX` is to be replaced once a BIP number is assigned.


Updated on: 2023-06-15T22:17:00.675373+00:00