]> Git Repo - VerusCoin.git/blobdiff - src/walletdb.h
Merge branch 'loaderror' of git://github.com/sipa/bitcoin
[VerusCoin.git] / src / walletdb.h
index f07848181136b00db67e1cf14e3e98cef78b8a6e..a3e779ab9d196d00c50eff2fa0a266a68d8bc114 100644 (file)
@@ -17,6 +17,7 @@ enum DBErrors
 {
     DB_LOAD_OK,
     DB_CORRUPT,
+    DB_NONCRITICAL_ERROR,
     DB_TOO_NEW,
     DB_LOAD_FAIL,
     DB_NEED_REWRITE
@@ -153,8 +154,10 @@ public:
     int64 GetAccountCreditDebit(const std::string& strAccount);
     void ListAccountCreditDebit(const std::string& strAccount, std::list<CAccountingEntry>& acentries);
 
-    int ReorderTransactions(CWallet*);
-    int LoadWallet(CWallet* pwallet);
+    DBErrors ReorderTransactions(CWallet*);
+    DBErrors LoadWallet(CWallet* pwallet);
+    static bool Recover(CDBEnv& dbenv, std::string filename, bool fOnlyKeys);
+    static bool Recover(CDBEnv& dbenv, std::string filename);
 };
 
 #endif // BITCOIN_WALLETDB_H
This page took 0.023404 seconds and 4 git commands to generate.