diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2022-07-14 12:58:01 -0400 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2022-07-14 12:58:01 -0400 |
| commit | 425623d6d3c9ed48153e6605eb080b4fd3e43957 (patch) | |
| tree | f740d70395b6b411827d00d6470b66614cb24761 /pages | |
| parent | b26f38d37ed81e84e51199425a633bc517f7bec2 (diff) | |
| parent | 559106174ee2106953b5d12a65b1966e0a7776c8 (diff) | |
| download | monzero-gui-425623d6d3c9ed48153e6605eb080b4fd3e43957.tar.gz monzero-gui-425623d6d3c9ed48153e6605eb080b4fd3e43957.tar.xz monzero-gui-425623d6d3c9ed48153e6605eb080b4fd3e43957.zip | |
Merge pull request #3932
5591061 SettingsWallet: add scan transaction option (selsta)
6e0b5e2 libwallet: add scanTransactions function (selsta)
Diffstat (limited to 'pages')
| -rw-r--r-- | pages/settings/SettingsWallet.qml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/pages/settings/SettingsWallet.qml b/pages/settings/SettingsWallet.qml index 2e5468ab..0c1e80ea 100644 --- a/pages/settings/SettingsWallet.qml +++ b/pages/settings/SettingsWallet.qml @@ -128,6 +128,27 @@ Rectangle { } MoneroComponents.SettingsListItem { + enabled: leftPanel.progressBar.fillLevel == 100 + iconText: FontAwesome.magnifyingGlass + description: qsTr("Use this feature if a transaction is missing in your wallet history. This will expose the transaction ID to the remote node, which can harm your privacy.") + translationManager.emptyString + title: qsTr("Scan transaction") + translationManager.emptyString + + onClicked: { + inputDialog.labelText = qsTr("Enter a transaction ID:") + translationManager.emptyString; + inputDialog.onAcceptedCallback = function() { + var txid = inputDialog.inputText.trim(); + if (currentWallet.scanTransactions([txid])) { + appWindow.showStatusMessage(qsTr("Transaction successfully scanned"), 3); + } else { + appWindow.showStatusMessage(qsTr("Failed to scan transaction") + ": " + currentWallet.errorString, 5); + } + } + inputDialog.onRejectedCallback = null; + inputDialog.open() + } + } + + MoneroComponents.SettingsListItem { iconText: FontAwesome.ellipsisH description: qsTr("Change the password of your wallet.") + translationManager.emptyString title: qsTr("Change wallet password") + translationManager.emptyString |
