X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Ftxdb-leveldb.h;h=c73dda68b1bfc8520dd46d7ff95549cd0049a199;hb=75744e6526193604bfbcc6be3a3793315556f12c;hp=67b4036446eef6a864c2fe469449feabd8e1b4aa;hpb=d8f8063eda45b8dec864b28bb98839a2dd3a8170;p=novacoin.git diff --git a/src/txdb-leveldb.h b/src/txdb-leveldb.h index 67b4036..c73dda6 100644 --- a/src/txdb-leveldb.h +++ b/src/txdb-leveldb.h @@ -92,6 +92,7 @@ protected: ssValue >> value; } catch (std::exception &e) { + (void)e; return false; } return true; @@ -201,9 +202,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(); };