Skip to content

Commit 1e52985

Browse files
committed
GUI/OptionsDialog: Move incrementalrelayfee directly below mempoolreplacement
1 parent c5ccb1f commit 1e52985

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/qt/optionsdialog.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,10 @@ OptionsDialog::OptionsDialog(QWidget* parent, bool enableWallet)
237237
mempoolreplacement->addItem(QString("with a higher mining fee (no opt-out)"), QVariant("fee,-optin"));
238238
CreateOptionUI(verticalLayout_Mempool, mempoolreplacement, tr("Transaction &replacement: %s"));
239239

240+
incrementalrelayfee = new BitcoinAmountField(tabMempool);
241+
connect(incrementalrelayfee, SIGNAL(valueChanged()), this, SLOT(incrementalrelayfee_changed()));
242+
CreateOptionUI(verticalLayout_Mempool, incrementalrelayfee, tr("Require transaction fees to be at least %s per kvB higher than transactions they are replacing."));
243+
240244
rejectspkreuse = new QCheckBox(tabMempool);
241245
rejectspkreuse->setText(tr("Disallow most address reuse"));
242246
rejectspkreuse->setToolTip(tr("With this option enabled, your memory pool will only allow each unique payment destination to be used once, effectively deprioritising address reuse. Address reuse is not technically supported, and harms the privacy of all Bitcoin users. It also has limited real-world utility, and has been known to be common with spam."));
@@ -261,10 +265,6 @@ OptionsDialog::OptionsDialog(QWidget* parent, bool enableWallet)
261265
maxmempool->setMaximum(std::numeric_limits<int>::max());
262266
CreateOptionUI(verticalLayout_Mempool, maxmempool, tr("Keep the transaction memory pool below %s MB"));
263267

264-
incrementalrelayfee = new BitcoinAmountField(tabMempool);
265-
connect(incrementalrelayfee, SIGNAL(valueChanged()), this, SLOT(incrementalrelayfee_changed()));
266-
CreateOptionUI(verticalLayout_Mempool, incrementalrelayfee, tr("Require transaction fees to be at least %s per kvB higher than transactions they are replacing."));
267-
268268
mempoolexpiry = new QSpinBox(tabMempool);
269269
mempoolexpiry->setMinimum(1);
270270
mempoolexpiry->setMaximum(std::numeric_limits<int>::max());

0 commit comments

Comments
 (0)