Merge pull request #381 from TheBlueMatt/nminversion

Add minversion to wallet.
This commit is contained in:
Jeff Garzik
2011-07-12 19:34:30 -07:00
4 changed files with 32 additions and 9 deletions

View File

@@ -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