v29.4-roots.4 · Commit 27: [PATCH 27/37] docs(wallet): document advanced privacy tools
src/qt/sweepdialog.cpp
Before: src/qt/sweepdialog.cpp · After: src/qt/sweepdialog.cpp
File metadata
index 1d04cf13c2ca0db845eedb56dfd911708879e769..b3b34e5dc8f50739b02c7d5490481fa6c73ad4da 100644
Download original patch · Release notes
Diff rows 1–26 of 26. Line numbers refer to the original before/after files.
+ Added− RemovedUnmarked lines are context.
Scroll the code area horizontally to read long lines. The two line-number columns refer to before and after.
src/qt/sweepdialog.cpp
CHANGED
|
@@ -46,7 +46,7 @@ SweepDialog::SweepDialog(WalletModel* wallet_model, QWidget* parent)
|
|
|
46
46
|
setWindowTitle(tr("Sweep Private Key"));
|
|
47
47
|
setModal(true);
|
|
48
48
|
auto* layout = new QVBoxLayout(this);
|
|
49
|
-
auto* warning = new QLabel(tr("A private key is a bearer secret. It is used only for this sweep and is never saved in this wallet."), this);
|
|
49
|
+
auto* warning = new QLabel(tr("A private key is a bearer secret. It is used only for this sweep and is never saved in this wallet. Keep an independent backup until the transaction confirms."), this);
|
|
50
50
|
warning->setWordWrap(true);
|
|
51
51
|
layout->addWidget(warning);
|
|
52
52
|
auto* form = new QFormLayout;
|
|
@@ -64,7 +64,7 @@ SweepDialog::SweepDialog(WalletModel* wallet_model, QWidget* parent)
|
|
|
64
64
|
m_destination = new QLineEdit(this);
|
|
65
65
|
m_destination->setObjectName("sweepDestination");
|
|
66
66
|
m_destination->setAccessibleName(tr("Destination address"));
|
|
67
|
-
m_destination->setAccessibleDescription(tr("A destination address controlled by the selected wallet."));
|
|
67
|
+
m_destination->setAccessibleDescription(tr("A spendable destination address controlled by the selected wallet. Watch-only and private-key-disabled wallets are not eligible."));
|
|
68
68
|
form->addRow(tr("Private key:"), m_private_key);
|
|
69
69
|
form->addRow(QString{}, reveal);
|
|
70
70
|
form->addRow(tr("Destination:"), m_destination);
|
|
@@ -83,8 +83,8 @@ SweepDialog::SweepDialog(WalletModel* wallet_model, QWidget* parent)
|
|
|
83
83
|
m_broadcast->setEnabled(false);
|
|
84
84
|
m_preview->setAccessibleName(tr("Preview sweep"));
|
|
85
85
|
m_broadcast->setAccessibleName(tr("Broadcast sweep"));
|
|
86
|
-
m_preview->setAccessibleDescription(tr("Scan for eligible coins and create a transaction preview without broadcasting."));
|
|
87
|
-
m_broadcast->setAccessibleDescription(tr("Broadcast the currently displayed sweep transaction. This cannot be undone."));
|
|
86
|
+
m_preview->setAccessibleDescription(tr("Scan eligible supported coins and create a transaction preview without broadcasting. Review its fee, destination, and Replace-By-Fee state."));
|
|
87
|
+
m_broadcast->setAccessibleDescription(tr("Broadcast the currently displayed sweep transaction. This cannot be undone and may fail if chain state or fees changed."));
|
|
88
88
|
layout->addWidget(buttons);
|
|
89
89
|
setTabOrder(m_private_key, reveal);
|
|
90
90
|
setTabOrder(reveal, m_destination);
|