1
0

Set the RBF flat to all transactions, and remove the 'use_rbf'

preference from the GUI, because the mempoolfullrbf option in
Bitcoin 0.24 makes RBF signaling pretty meaningless. Fixes #8088.

Note: RBF remains disabled for channel funding transactions.
In that case, the flag is actually only used as a semaphore
between different instances of the same wallet.
This commit is contained in:
ThomasV
2022-12-07 13:08:48 +01:00
parent 8995a3e1bd
commit e1dc7d1e6f
11 changed files with 19 additions and 84 deletions

View File

@@ -455,9 +455,7 @@ class QEWallet(AuthMixin, QObject, QtEventListener):
# see qt/confirm_tx_dialog qt/main_window
tx = self.wallet.make_unsigned_transaction(coins=coins,outputs=outputs, fee=None)
self._logger.info(str(tx.to_json()))
use_rbf = bool(self.wallet.config.get('use_rbf', True))
tx.set_rbf(use_rbf)
tx.set_rbf(True)
self.sign(tx, broadcast=True)
@auth_protect