From c5ccb1fe6043a0bd35dbf711936522dcb3c00802 Mon Sep 17 00:00:00 2001 From: Luke Dashjr Date: Wed, 19 Jun 2024 04:06:53 +0000 Subject: [PATCH] GUI/OptionsDialog: Move rejectspkreuse back to Mempool tab --- src/qt/optionsdialog.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/qt/optionsdialog.cpp b/src/qt/optionsdialog.cpp index 420be122f6..89b7c0c3e6 100644 --- a/src/qt/optionsdialog.cpp +++ b/src/qt/optionsdialog.cpp @@ -237,6 +237,12 @@ OptionsDialog::OptionsDialog(QWidget* parent, bool enableWallet) mempoolreplacement->addItem(QString("with a higher mining fee (no opt-out)"), QVariant("fee,-optin")); CreateOptionUI(verticalLayout_Mempool, mempoolreplacement, tr("Transaction &replacement: %s")); + rejectspkreuse = new QCheckBox(tabMempool); + rejectspkreuse->setText(tr("Disallow most address reuse")); + 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.")); + verticalLayout_Mempool->addWidget(rejectspkreuse); + FixTabOrder(rejectspkreuse); + mempooltruc = new QValueComboBox(tabMempool); mempooltruc->addItem(QString("do not relay or mine at all"), QVariant("reject")); mempooltruc->addItem(QString("handle the same as other transactions"), QVariant("accept")); @@ -291,12 +297,6 @@ OptionsDialog::OptionsDialog(QWidget* parent, bool enableWallet) verticalLayout_Spamfiltering->addWidget(rejecttokens); FixTabOrder(rejecttokens); - rejectspkreuse = new QCheckBox(groupBox_Spamfiltering); - rejectspkreuse->setText(tr("Disallow most address reuse")); - 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.")); - verticalLayout_Spamfiltering->addWidget(rejectspkreuse); - FixTabOrder(rejectspkreuse); - minrelaytxfee = new BitcoinAmountField(groupBox_Spamfiltering); CreateOptionUI(verticalLayout_Spamfiltering, minrelaytxfee, tr("Ignore transactions offering miners less than %s per kvB in transaction fees."));