Feature: RBF and UX improvement to fee bumping#6581
Conversation
0bd8f09 to
6c21699
Compare
|
@pavlenex made a video explaining an alternative to the current flow for both RBF and CPFP. Bumping fee can be done in two ways: CPFP or RBF. As such, we should have only a single action item for both.
EDIT: |
|
Now, CPFP and multi action CPFP are using the Bump fee screen! |
|
@NicolasDorier Took @dstrukt The only thing missing now is figuring the consistent approach we're sticking with
|
b9ce89e to
cb9c4d3
Compare
7bbbfd5 to
460a9a5
Compare


Feature: RBF and UX improvement to fee bumping
The PR requires users who wants fee bumping (CPFP and RBF) capabilities need to update NBXplorer to
2.5.22or above.RBF is available to every transaction which:
2.5.22or above.While it is possible to fee bump multiple transaction with CPFP, it is not supported at this moment with RBF.
UX
The wallet transaction list is now showing a RBF link for transaction eligible to fee bumping (either CPFP or RBF).
Once clicked, the following UI show up, prompting the user to choose the expected effective fee rate and to select the fee bump method (RBF or CPFP, the default is RBF if available).
Click on
Signing transactionand then start the same signing process as theWallet Sendscreen.Note that the effective fee rate is not necessarily related to the transaction's fee rate. The effective fee rate takes into account the descendants and ancestors (ie. the package) of unconfirmed transactions of the bumped transaction.
For example, if there is a chain of transactions
Awith a fee rate of100 sat/vbyteandBwith a fee rate of10 sat/vbyte, both of the same size, then the current fee rate is55.0 sat/vbyte. The minimum bump possible is1 sat/vbyte(in other words, to56.0 sat/vbyte). To bump the package fee to56.0, the fee rate ofBshould increase to12 sat/vbyte(and not to56.0or11 sat/vbyte, as someone might wrongly expect).We are showing the total cost of the operation in the PSBT Ready screen, in the case of RBF, we take into consideration the transaction being cancelled.
Lastly, fee-bumping transactions are assigned labels as a reminder.
For example, below:
4dde...).3e90...).3e90...was also delayed, the merchant decided to replace it via RBF with a new transaction,d2bb.....First, you'll notice that
3e90...is no longer visible because it has been replaced. However, you can see that it was replaced by hovering over the RBF tag for more information.Second,
d2bb...has two tags:RBFandCPFP. This is because when a transaction replaces another, it inherits the tags of the replaced transaction. In this case,3e90...had the CPFP label but was replaced viaRBFbyd2bb.... Sinced2bb...inherits theCPFPlabel, it now has bothCPFPandRBFlabels.Mass actions
The mass action for bumping fees on the invoice list and wallet transaction list has been modified. Previously, it created a CPFP transaction.
Now, it redirects to the bump fee flow explained above.
Supersede #6083
Close #5578