summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornicolas.dorier <nicolas.dorier@gmail.com>2020-05-17 19:55:45 +0900
committernicolas.dorier <nicolas.dorier@gmail.com>2020-05-17 19:55:45 +0900
commitc33f0759d63093329c4443df1d1b627ba1ae7f08 (patch)
treee4d7493e6b013afa4c45f93170f2b3522808d212
parent3faf6e7540e9925b536701c9644e6622b8d25b19 (diff)
downloadbips-c33f0759d63093329c4443df1d1b627ba1ae7f08.tar.xz
Clarify sender's payjoin proposal checklist
-rw-r--r--bip-xxxx.mediawiki4
1 files changed, 2 insertions, 2 deletions
diff --git a/bip-xxxx.mediawiki b/bip-xxxx.mediawiki
index c4202a7..9e44931 100644
--- a/bip-xxxx.mediawiki
+++ b/bip-xxxx.mediawiki
@@ -173,9 +173,9 @@ The sender should check the payjoin proposal before signing it to prevent a mali
* Check that the transaction version, and nLockTime are unchanged.
* Check that the sender's inputs' sequence numbers are unchanged.
* If the sender's inputs' sequence numbers the homogenous, check that the receiver's contributed inputs match those.
-* Check that the sender's outputs have not been modified (but potentially shuffled), except for paying increased fee
+* Check that the sender's own outputs have not been modified, except for paying increased fee, or by simple shuffling.
* If sender specified <code>feebumpindex=</code> (see later), the fee should have been subtracted from the output at the same index in the original PSBT.
-* Check that the sent amount in the payjoin proposal is less than or equal to the sent amount of the original transaction.
+* Check that the sent amount in the payjoin proposal is less than or equal to the sent amount of the original transaction. (Defined as the sum of the inputs' value to be signed minus the sender's ouput change)
If the sent amount in the payjoin proposal is above the amount sent in the original PSBT
* Check that the additional paid amount has been add paid to the fee.