X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Ftxdb-bdb.h;h=45372756c0b8824836e4b70d80c2e13f30cee82f;hb=9d14e64825d95061ea0857267646dfcb3d62e07a;hp=15917c66bebc8d32b823faec0166293a211d4e8c;hpb=adb8391acdf671640adb1e8be564e68b254fca69;p=novacoin.git diff --git a/src/txdb-bdb.h b/src/txdb-bdb.h index 15917c6..4537275 100644 --- a/src/txdb-bdb.h +++ b/src/txdb-bdb.h @@ -16,6 +16,7 @@ private: CTxDB(const CTxDB&); void operator=(const CTxDB&); public: + bool ReadTxIndex(uint256 hash, CTxIndex& txindex); bool UpdateTxIndex(uint256 hash, const CTxIndex& txindex); bool AddTxIndex(const CTransaction& tx, const CDiskTxPos& pos, int nHeight); @@ -34,6 +35,8 @@ 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();