From 233c0946674c7818a65695344bd823fd8da989a7 Mon Sep 17 00:00:00 2001 From: "nicolas.dorier" Date: Sun, 17 May 2020 21:49:43 +0900 Subject: [PATCH] Add minFeeRate optional parameter --- bip-xxxx.mediawiki | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bip-xxxx.mediawiki b/bip-xxxx.mediawiki index 83aae19e..440f6998 100644 --- a/bip-xxxx.mediawiki +++ b/bip-xxxx.mediawiki @@ -175,6 +175,7 @@ The sender should check the payjoin proposal before signing it to prevent a mali * 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 additionalfeeoutputindex= (see later), the fee should have been subtracted from the output at the same index in the original PSBT. +* If minfeerate was specified, check that the estimated fee rate of the payjoin proposal is not less than this value. * 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 @@ -220,6 +221,8 @@ If the additionalfeeoutputindex is out of bounds or pointing to the 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. +* minfeerate=, a decimal in satoshi per vbyte that the sender can use to constraint the receiver to not drop the minimum fee rate too much. + ==Rationale== There is several consequences of our proposal: