diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-02-09 13:03:27 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-02-09 13:04:02 +0100 |
commit | b19bcb752bc19f7b6780fd8c099bb3d79e4d7cc9 (patch) | |
tree | f4039908a6c1e266659e228fe66f45ab78f05e7b /src/walletdb.h | |
parent | 0514fb3b4cd4e2923d9fdddec84da0c4abcf3e5f (diff) | |
parent | cdb6c169355488d4e64a2435d916cb67a9c01ebe (diff) | |
download | bitcoin-b19bcb752bc19f7b6780fd8c099bb3d79e4d7cc9.tar.xz |
Merge pull request #3638
cdb6c16 remove setting methods in wallet/walletdb (Cozz Lovan)
44eb59e [Qt] remove broken OptionsModel::Upgrade() (Cozz Lovan)
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 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); |