Add SetMinVersion to CWallet

This commit is contained in:
Pieter Wuille
2012-02-18 14:55:02 +01:00
parent 2d36b60f92
commit 0b807a417f
4 changed files with 44 additions and 2 deletions

View File

@@ -486,6 +486,11 @@ public:
return Write(std::make_pair(std::string("setting"), strKey), value);
}
bool WriteMinVersion(int nVersion)
{
return Write(std::string("minversion"), nVersion);
}
bool ReadAccount(const std::string& strAccount, CAccount& account);
bool WriteAccount(const std::string& strAccount, const CAccount& account);
bool WriteAccountingEntry(const CAccountingEntry& acentry);