Get rid of db dependencies on main

This commit is contained in:
Eric Lombrozo
2013-01-06 04:30:00 -08:00
parent c94bd68547
commit 336fe971e6
5 changed files with 22 additions and 8 deletions

View File

@@ -11,6 +11,8 @@
class CKeyPool;
class CAccount;
class CAccountingEntry;
class CWallet;
class CWalletTx;
/** Error statuses for the wallet database */
enum DBErrors
@@ -160,4 +162,6 @@ public:
static bool Recover(CDBEnv& dbenv, std::string filename);
};
bool BackupWallet(const CWallet& wallet, const std::string& strDest);
#endif // BITCOIN_WALLETDB_H