X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Ftxdb-leveldb.h;h=07c708825159759952c3281a389f2ddd1dc8b993;hb=5a7a2125b6b4ed7d3ea55f333d0cf2345bd1d916;hp=67b4036446eef6a864c2fe469449feabd8e1b4aa;hpb=d8f8063eda45b8dec864b28bb98839a2dd3a8170;p=novacoin.git diff --git a/src/txdb-leveldb.h b/src/txdb-leveldb.h index 67b4036..07c7088 100644 --- a/src/txdb-leveldb.h +++ b/src/txdb-leveldb.h @@ -91,7 +91,7 @@ protected: SER_DISK, CLIENT_VERSION); ssValue >> value; } - catch (std::exception &e) { + catch (const std::exception&) { return false; } return true; @@ -201,9 +201,9 @@ public: bool WriteSyncCheckpoint(uint256 hashCheckpoint); bool ReadCheckpointPubKey(std::string& strPubKey); bool WriteCheckpointPubKey(const std::string& strPubKey); + bool ReadModifierUpgradeTime(unsigned int& nUpgradeTime); + bool WriteModifierUpgradeTime(const unsigned int& nUpgradeTime); bool LoadBlockIndex(); -private: - bool LoadBlockIndexGuts(); };