From 518f3bdae3415fdb60cef984b69b36f2633c1fe1 Mon Sep 17 00:00:00 2001 From: Jeff Garzik Date: Fri, 14 Feb 2014 11:33:07 -0500 Subject: 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. --- src/wallet.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/wallet.h') 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); -- cgit v1.2.3