aboutsummaryrefslogtreecommitdiff
path: root/src/db.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/db.h')
-rw-r--r--src/db.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/db.h b/src/db.h
index c8d46d8fe6..a86c110b3f 100644
--- a/src/db.h
+++ b/src/db.h
@@ -342,6 +342,13 @@ public:
+enum DBErrors
+{
+ DB_LOAD_OK,
+ DB_CORRUPT,
+ DB_TOO_NEW
+};
+
class CWalletDB : public CDB
{
public:
@@ -469,7 +476,7 @@ public:
int64 GetAccountCreditDebit(const std::string& strAccount);
void ListAccountCreditDebit(const std::string& strAccount, std::list<CAccountingEntry>& acentries);
- bool LoadWallet(CWallet* pwallet);
+ int LoadWallet(CWallet* pwallet);
};
#endif