X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fwalletdb.h;fp=src%2Fwalletdb.h;h=b5b7f02dc8f0b3a90c36393f20d7f600042330f7;hb=52c85881648d3381c29da10925c06cbd083cc570;hp=1739693061db888e2ade0941ac7b50f3830c8b00;hpb=b82857ee25ac3edc77ba317ec17480896c93a128;p=novacoin.git diff --git a/src/walletdb.h b/src/walletdb.h index 1739693..b5b7f02 100644 --- a/src/walletdb.h +++ b/src/walletdb.h @@ -188,25 +188,6 @@ public: return Erase(std::make_pair(std::string("pool"), 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) - { - nWalletDBUpdated++; - return Erase(std::make_pair(std::string("setting"), strKey)); - } - bool WriteMinVersion(int nVersion) { return Write(std::string("minversion"), nVersion);