Add minversion to wallet.

This commit is contained in:
Matt Corallo
2011-07-05 03:06:19 +02:00
parent 9390431ce4
commit 7ec552676c
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:
@@ -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