aboutsummaryrefslogtreecommitdiff
path: root/src/wallet.h
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@bitpay.com>2014-02-14 11:33:07 -0500
committerJeff Garzik <jgarzik@bitpay.com>2014-02-14 11:33:07 -0500
commit518f3bdae3415fdb60cef984b69b36f2633c1fe1 (patch)
tree98022a0e8b5a3c2b5ab50fbb6089a8d2e29c0967 /src/wallet.h
parent6056c87d25994bbceb23d6ae50df1276a51d51bd (diff)
downloadbitcoin-518f3bdae3415fdb60cef984b69b36f2633c1fe1.tar.xz
Add -zapwallettxes cli/config option, used for wallet recovery
This diagnostic tool removes all "tx" records from the wallet db, then forces a full rescan, to rebuild "tx" records accurately.
Diffstat (limited to 'src/wallet.h')
-rw-r--r--src/wallet.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet.h b/src/wallet.h
index ca40ba8185..a8f1a81b3c 100644
--- a/src/wallet.h
+++ b/src/wallet.h
@@ -323,6 +323,7 @@ public:
void SetBestChain(const CBlockLocator& loc);
DBErrors LoadWallet(bool& fFirstRunRet);
+ DBErrors ZapWalletTx();
bool SetAddressBook(const CTxDestination& address, const std::string& strName, const std::string& purpose);