Skip to content

Commit cad43f2

Browse files
committed
Add backwards compatibility section
1 parent 6322865 commit cad43f2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

bip-bustapay.mediawiki

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ The template transaction should be sent to the receiver via an HTTP POST to the
6767

6868
The receiver is then responsible for validating the template transaction. If there is a problem with the transaction, or the receiver is generally unhappy with the transaction (e.g. fees are too small) the HTTP response code of 422 should be used and a human-readable string containing information on why which can be directly given to the user.
6969

70-
Should the receiver reject a transaction, it should not attempt to propagate it on the network. However it is important for the send to be aware that the receiver *can* at any time until one of the inputs has been used and thus invalidates the transaction.
70+
Should the receiver reject a transaction, it should not attempt to propagate it on the network. However it is important for the sender to be aware that the receiver *could* at any time (regardless of which error was given) send this transaction. The client should therefor assume the receiver will, and act accordingly (either retry with adjustments or just propagate the transaction). It is imperative that the sender never finds themselves in a situation where two payments to the sender could be valid.
7171

7272
=== Contributed Input Choice ===
7373

@@ -115,6 +115,10 @@ For anyone wanting to implement bustapay payments, here are some notes for recei
115115
* A reference implementation is maintained at https://github.com/rhavar/bustapay which functions as a wrapper around some RPC calls to bitcoin core's wallet.
116116
* The sender must be careful of an attack where the receiver tries to add additional inputs that are controlled by the sender, with the hope that the sender blindly signs it.
117117
118+
== Backwards Compatibility ==
119+
120+
Bustapay is an optional payment protocol and therefor has no backwards compatibility concerns. It in fact can only be supported in addition to normal transaction processing, as falling back to a normal bitcoin transaction is a required behavior.
121+
118122

119123
== Credits ==
120124
The idea is obviously based upon Dr. Maxwell's seminal CoinJoin proposal, and reduced scope inspired by a simplification of the "pay 2 endpoint" blog post by blockstream.

0 commit comments

Comments
 (0)