diff options
author | nicolas.dorier <nicolas.dorier@gmail.com> | 2020-05-17 21:49:43 +0900 |
---|---|---|
committer | nicolas.dorier <nicolas.dorier@gmail.com> | 2020-05-17 21:57:37 +0900 |
commit | 233c0946674c7818a65695344bd823fd8da989a7 (patch) | |
tree | a01ea16900314dadd885220b6ec782d53de446bc | |
parent | 088cf9bf9117330458535e84bb36ebf298974037 (diff) | |
download | bips-233c0946674c7818a65695344bd823fd8da989a7.tar.xz |
Add minFeeRate optional parameter
-rw-r--r-- | bip-xxxx.mediawiki | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bip-xxxx.mediawiki b/bip-xxxx.mediawiki index 83aae19..440f699 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 <code>additionalfeeoutputindex=</code> (see later), the fee should have been subtracted from the output at the same index in the original PSBT. +* If <code>minfeerate</code> 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 <code>additionalfeeoutputindex</code> is out of bounds or pointing to the Note that if <code>maxadditionalfeecontribution</code> is too low, the sender should create a transaction with RBF disabled, as the original transaction could replace the payjoin transaction. +* <code>minfeerate=</code>, 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: |