aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/wallet.h
diff options
context:
space:
mode:
authorAndrew Chow <achow101-github@achow101.com>2018-03-31 16:02:58 -0400
committerAndrew Chow <achow101-github@achow101.com>2018-04-12 17:00:30 -0400
commit69b01e6f8b3aca781da7f049909ad75de73a804a (patch)
treed4d73a1574e6367c60dea42293280e6a3dd491cb /src/interfaces/wallet.h
parent27278dffe877ab95488f2e0fada53edb9590487f (diff)
downloadbitcoin-69b01e6f8b3aca781da7f049909ad75de73a804a.tar.xz
Add cancel button to rescan progress dialog
Adds a cancel button to the rescan progress dialog. When it is clicked, AbortRescan is called to abort a rescan
Diffstat (limited to 'src/interfaces/wallet.h')
-rw-r--r--src/interfaces/wallet.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/interfaces/wallet.h b/src/interfaces/wallet.h
index 3e27242c2c..dfe3d5f711 100644
--- a/src/interfaces/wallet.h
+++ b/src/interfaces/wallet.h
@@ -65,6 +65,9 @@ public:
virtual bool changeWalletPassphrase(const SecureString& old_wallet_passphrase,
const SecureString& new_wallet_passphrase) = 0;
+ //! Abort a rescan.
+ virtual void abortRescan() = 0;
+
//! Back up wallet.
virtual bool backupWallet(const std::string& filename) = 0;