1
0
Files
electrum/electrum/tests
SomberNight 7f64ecc4bd wallet.bump_fee: the glorious return of BumpFeeStrategy :D
gui/qt/rbf_dialog.py (old) lines 57-64 were implementing logic that should not be part of GUI code.
Case in point, gui/qml/qetxfinalizer.py (old) lines 511-513 duplicated half of that logic but not the other half.
That logic is now moved to wallet.get_bumpfee_strategies_for_tx().

More context: a user on irc got confused when using the qml gui. They were sending "max" and wanted to bump_fee.
The qml gui selected the "preserve_payment" strategy by default, using which there was no solution, and the user
did not notice that the strategy can be altered (via the "method" dropdown). The qt gui had logic to select
"decrease_payment" by default in such a case (which does find a solution to bump) but this logic was not
duplicated in the qml gui.
Instead of duplicating the logic, this commit moves it to shared lib code.
2023-11-20 18:55:43 +00:00
..
2023-11-13 10:47:18 +01:00
2023-11-13 10:47:18 +01:00
2021-04-30 19:55:47 +02:00
2023-04-24 12:58:30 +00:00
2023-05-25 17:39:48 +00:00
2020-02-04 13:35:58 +01:00
2023-02-18 11:29:54 +00:00
2023-02-18 11:29:54 +00:00
2023-02-18 11:29:54 +00:00