Skip to content

Commit c5ccb1f

Browse files
committed
GUI/OptionsDialog: Move rejectspkreuse back to Mempool tab
1 parent 1648442 commit c5ccb1f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/qt/optionsdialog.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,12 @@ 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+
rejectspkreuse = new QCheckBox(tabMempool);
241+
rejectspkreuse->setText(tr("Disallow most address reuse"));
242+
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."));
243+
verticalLayout_Mempool->addWidget(rejectspkreuse);
244+
FixTabOrder(rejectspkreuse);
245+
240246
mempooltruc = new QValueComboBox(tabMempool);
241247
mempooltruc->addItem(QString("do not relay or mine at all"), QVariant("reject"));
242248
mempooltruc->addItem(QString("handle the same as other transactions"), QVariant("accept"));
@@ -291,12 +297,6 @@ OptionsDialog::OptionsDialog(QWidget* parent, bool enableWallet)
291297
verticalLayout_Spamfiltering->addWidget(rejecttokens);
292298
FixTabOrder(rejecttokens);
293299

294-
rejectspkreuse = new QCheckBox(groupBox_Spamfiltering);
295-
rejectspkreuse->setText(tr("Disallow most address reuse"));
296-
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."));
297-
verticalLayout_Spamfiltering->addWidget(rejectspkreuse);
298-
FixTabOrder(rejectspkreuse);
299-
300300
minrelaytxfee = new BitcoinAmountField(groupBox_Spamfiltering);
301301
CreateOptionUI(verticalLayout_Spamfiltering, minrelaytxfee, tr("Ignore transactions offering miners less than %s per kvB in transaction fees."));
302302

0 commit comments

Comments
 (0)