From cdb6c169355488d4e64a2435d916cb67a9c01ebe Mon Sep 17 00:00:00 2001 From: Cozz Lovan Date: Fri, 7 Feb 2014 12:59:46 +0100 Subject: remove setting methods in wallet/walletdb --- src/walletdb.h | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'src/walletdb.h') diff --git a/src/walletdb.h b/src/walletdb.h index 15af287245..4f3e29283e 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 - bool ReadSetting(const std::string& strKey, T& value) - { - return Read(std::make_pair(std::string("setting"), strKey), value); - } - template - 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); -- cgit v1.2.3