diff options
author | Matt Corallo <matt@bluematt.me> | 2011-07-05 03:06:19 +0200 |
---|---|---|
committer | Matt Corallo <matt@bluematt.me> | 2011-07-05 18:36:01 +0200 |
commit | 7ec552676c66488fe00fb503d02ec4a389a715b7 (patch) | |
tree | 6791d8dd85e2aaa82ee7b2396b123716ccd093f2 /src/db.h | |
parent | 9390431ce49893cbdf23846edb4bdf72b3d4e830 (diff) |
Add minversion to wallet.
Diffstat (limited to 'src/db.h')
-rw-r--r-- | src/db.h | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -342,6 +342,13 @@ public: +enum DBErrors +{ + DB_LOAD_OK, + DB_CORRUPT, + DB_TOO_NEW +}; + class CWalletDB : public CDB { public: @@ -450,7 +457,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 |