From 24dd275445329aba230542099bf49e36c4a2d785 Mon Sep 17 00:00:00 2001 From: "nicolas.dorier" Date: Sun, 17 May 2020 19:58:17 +0900 Subject: [PATCH] Rename to additionalfeeoutputindex and maxadditionalfeecontribution --- bip-xxxx.mediawiki | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/bip-xxxx.mediawiki b/bip-xxxx.mediawiki index 9e449317..5f316d34 100644 --- a/bip-xxxx.mediawiki +++ b/bip-xxxx.mediawiki @@ -174,14 +174,14 @@ The sender should check the payjoin proposal before signing it to prevent a mali * 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 own outputs have not been modified, except for paying increased fee, or by simple shuffling. -* If sender specified feebumpindex= (see later), the fee should have been subtracted from the output at the same index in the original PSBT. +* If sender specified additionalfeeoutputindex= (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. (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. * Check that the estimated fee rate of the payjoin proposal is not more than the fee rate of the original PSBT. (fee estimation is hard, so we should allow ~2 satoshi per inputs as margin of error) -* If maxfeebumpcontribution= was specified, check the additional paid amount is less than or equal to this amount. -* If maxfeebumpcontribution= was not specified, the sender's software should ask an interactive confirmation to the user. +* If maxadditionalfeecontribution= was specified, check the additional paid amount is less than or equal to this amount. +* If maxadditionalfeecontribution= was not specified, the sender's software should ask an interactive confirmation to the user. The sender must be careful to only sign the inputs that were present in the original PSBT and nothing else. @@ -212,13 +212,13 @@ If the receiver does not support the version of the sender, they should send an } -* feebumpindex=, the preferred output from which to increase the fee for the added inputs. (default: -1) +* additionalfeeoutputindex=, the preferred output from which to increase the fee for the added inputs. (default: -1) -If the feebumpindex is out of bounds or pointing to the payment ouptut meant for the receiver, the receiver should ignore the parameter. +If the additionalfeeoutputindex is out of bounds or pointing to the payment ouptut meant for the receiver, the receiver should ignore the parameter. -* maxfeebumpcontribution=, an integer defining the maximum amount in satoshis that the sender is willing to contribute towards fees for the additional inputs. maxfeebumpcontribution must be ignored if set to less than zero. (default: -1) +* maxadditionalfeecontribution=, an integer defining the maximum amount in satoshis that the sender is willing to contribute towards fees for the additional inputs. maxadditionalfeecontribution must be ignored if set to less than zero. (default: -1) -Note that if maxfeebumpcontribution is too low, the sender should create a transaction with RBF disabled, as the original transaction could replace the payjoin transaction. +Note that if maxadditionalfeecontribution is too low, the sender should create a transaction with RBF disabled, as the original transaction could replace the payjoin transaction. ==Rationale==