From 0b807a417f4a15f3e37ae35e70a72e6169f01c02 Mon Sep 17 00:00:00 2001 From: Pieter Wuille Date: Sat, 18 Feb 2012 14:55:02 +0100 Subject: Add SetMinVersion to CWallet --- src/db.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/db.h') diff --git a/src/db.h b/src/db.h index 27479fef0e..2611faa461 100644 --- a/src/db.h +++ b/src/db.h @@ -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); -- cgit v1.2.3