diff options
| author | Cozz Lovan <[email protected]> | 2014-02-07 12:59:46 +0100 |
|---|---|---|
| committer | Cozz Lovan <[email protected]> | 2014-02-07 12:59:46 +0100 |
| commit | cdb6c169355488d4e64a2435d916cb67a9c01ebe (patch) | |
| tree | d6c9dae1cde5c582f1a609be191580ac7685cc3b /src/walletdb.h | |
| parent | [Qt] remove broken OptionsModel::Upgrade() (diff) | |
| download | discoin-cdb6c169355488d4e64a2435d916cb67a9c01ebe.tar.xz discoin-cdb6c169355488d4e64a2435d916cb67a9c01ebe.zip | |
remove setting methods in wallet/walletdb
Diffstat (limited to 'src/walletdb.h')
| -rw-r--r-- | src/walletdb.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/walletdb.h b/src/walletdb.h index 15af28724..4f3e29283 100644 --- a/src/walletdb.h +++ b/src/walletdb.h @@ -104,22 +104,6 @@ public: bool WritePool(int64_t nPool, const CKeyPool& keypool); bool ErasePool(int64_t nPool); - // Settings are no longer stored in wallet.dat; these are - // used only for backwards compatibility: - template<typename T> - bool ReadSetting(const std::string& strKey, T& value) - { - return Read(std::make_pair(std::string("setting"), strKey), value); - } - template<typename T> - bool WriteSetting(const std::string& strKey, const T& value) - { - nWalletDBUpdated++; - return Write(std::make_pair(std::string("setting"), strKey), value); - } - - bool EraseSetting(const std::string& strKey); - bool WriteMinVersion(int nVersion); bool ReadAccount(const std::string& strAccount, CAccount& account); |