mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-12 19:20:42 +02:00
GUI/OptionsDialog: Move rejectspkreuse back to Mempool tab
This commit is contained in:
parent
1648442c33
commit
c5ccb1fe60
@ -237,6 +237,12 @@ OptionsDialog::OptionsDialog(QWidget* parent, bool enableWallet)
|
|||||||
mempoolreplacement->addItem(QString("with a higher mining fee (no opt-out)"), QVariant("fee,-optin"));
|
mempoolreplacement->addItem(QString("with a higher mining fee (no opt-out)"), QVariant("fee,-optin"));
|
||||||
CreateOptionUI(verticalLayout_Mempool, mempoolreplacement, tr("Transaction &replacement: %s"));
|
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 = new QValueComboBox(tabMempool);
|
||||||
mempooltruc->addItem(QString("do not relay or mine at all"), QVariant("reject"));
|
mempooltruc->addItem(QString("do not relay or mine at all"), QVariant("reject"));
|
||||||
mempooltruc->addItem(QString("handle the same as other transactions"), QVariant("accept"));
|
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);
|
verticalLayout_Spamfiltering->addWidget(rejecttokens);
|
||||||
FixTabOrder(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);
|
minrelaytxfee = new BitcoinAmountField(groupBox_Spamfiltering);
|
||||||
CreateOptionUI(verticalLayout_Spamfiltering, minrelaytxfee, tr("Ignore transactions offering miners less than %s per kvB in transaction fees."));
|
CreateOptionUI(verticalLayout_Spamfiltering, minrelaytxfee, tr("Ignore transactions offering miners less than %s per kvB in transaction fees."));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user