diff options
| author | Pieter Wuille <[email protected]> | 2012-02-18 14:55:02 +0100 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2012-02-18 15:42:29 +0100 |
| commit | 0b807a417f4a15f3e37ae35e70a72e6169f01c02 (patch) | |
| tree | da6bc0f32945d45a8cb9a366d6a729260e33bdda /src/db.h | |
| parent | Merge pull request #859 from laanwj/2012_02_guilanguagearg (diff) | |
| download | discoin-0b807a417f4a15f3e37ae35e70a72e6169f01c02.tar.xz discoin-0b807a417f4a15f3e37ae35e70a72e6169f01c02.zip | |
Add SetMinVersion to CWallet
Diffstat (limited to 'src/db.h')
| -rw-r--r-- | src/db.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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); |