Fix const-ness of ReadTxIndex
This commit is contained in:
@@ -97,7 +97,7 @@ public:
|
|||||||
bool ReadLastBlockFile(int &nFile) const;
|
bool ReadLastBlockFile(int &nFile) const;
|
||||||
bool WriteReindexing(bool fReindex);
|
bool WriteReindexing(bool fReindex);
|
||||||
bool ReadReindexing(bool &fReindex) const;
|
bool ReadReindexing(bool &fReindex) const;
|
||||||
bool ReadTxIndex(const uint256 &txid, CDiskTxPos &pos);
|
bool ReadTxIndex(const uint256 &txid, CDiskTxPos &pos) const;
|
||||||
bool WriteTxIndex(const std::vector<std::pair<uint256, CDiskTxPos> > &list);
|
bool WriteTxIndex(const std::vector<std::pair<uint256, CDiskTxPos> > &list);
|
||||||
bool ReadSpentIndex(CSpentIndexKey &key, CSpentIndexValue &value) const;
|
bool ReadSpentIndex(CSpentIndexKey &key, CSpentIndexValue &value) const;
|
||||||
bool UpdateSpentIndex(const std::vector<std::pair<CSpentIndexKey, CSpentIndexValue> >&vect);
|
bool UpdateSpentIndex(const std::vector<std::pair<CSpentIndexKey, CSpentIndexValue> >&vect);
|
||||||
|
|||||||
Reference in New Issue
Block a user