diff options
author | Jeff Garzik <jgarzik@exmulti.com> | 2011-07-12 19:34:30 -0700 |
---|---|---|
committer | Jeff Garzik <jgarzik@exmulti.com> | 2011-07-12 19:34:30 -0700 |
commit | 0fa89d8e816807a621419495d7bdc6366979a0f0 (patch) | |
tree | 32327a402bb77104f74738c2a10022c8938db252 /src/db.h | |
parent | 61e3c011f5506b4ebd0014e49ea8b61ae916d20d (diff) | |
parent | 7ec552676c66488fe00fb503d02ec4a389a715b7 (diff) |
Merge pull request #381 from TheBlueMatt/nminversion
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: @@ -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 |