aboutsummaryrefslogtreecommitdiff
path: root/src/walletdb.h
diff options
context:
space:
mode:
authorCozz Lovan <cozzlovan@yahoo.com>2014-02-07 12:59:46 +0100
committerCozz Lovan <cozzlovan@yahoo.com>2014-02-07 12:59:46 +0100
commitcdb6c169355488d4e64a2435d916cb67a9c01ebe (patch)
treed6c9dae1cde5c582f1a609be191580ac7685cc3b /src/walletdb.h
parent44eb59e4a65499b581f3dd65adb719b21dc73673 (diff)
remove setting methods in wallet/walletdb
Diffstat (limited to 'src/walletdb.h')
-rw-r--r--src/walletdb.h16
1 files changed, 0 insertions, 16 deletions
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<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);