Changeset View
Changeset View
Standalone View
Standalone View
src/txdb.h
Show First 20 Lines • Show All 108 Lines • ▼ Show 20 Lines | |||||
}; | }; | ||||
/** Access to the block database (blocks/index/) */ | /** Access to the block database (blocks/index/) */ | ||||
class CBlockTreeDB : public CDBWrapper { | class CBlockTreeDB : public CDBWrapper { | ||||
public: | public: | ||||
explicit CBlockTreeDB(size_t nCacheSize, bool fMemory = false, | explicit CBlockTreeDB(size_t nCacheSize, bool fMemory = false, | ||||
bool fWipe = false); | bool fWipe = false); | ||||
CBlockTreeDB(const CBlockTreeDB &) = delete; | |||||
CBlockTreeDB &operator=(const CBlockTreeDB &) = delete; | |||||
markblundeberg: please leave this out, per D2983 (serves me right for backporting out-of-order =D ) | |||||
markblundebergUnsubmitted Not Done Inline Actionserr sorry, I mean D2901 markblundeberg: err sorry, I mean D2901 | |||||
bool WriteBatchSync( | bool WriteBatchSync( | ||||
const std::vector<std::pair<int, const CBlockFileInfo *>> &fileInfo, | const std::vector<std::pair<int, const CBlockFileInfo *>> &fileInfo, | ||||
int nLastFile, const std::vector<const CBlockIndex *> &blockinfo); | int nLastFile, const std::vector<const CBlockIndex *> &blockinfo); | ||||
bool ReadBlockFileInfo(int nFile, CBlockFileInfo &info); | bool ReadBlockFileInfo(int nFile, CBlockFileInfo &info); | ||||
bool ReadLastBlockFile(int &nFile); | bool ReadLastBlockFile(int &nFile); | ||||
bool WriteReindexing(bool fReindexing); | bool WriteReindexing(bool fReindexing); | ||||
bool ReadReindexing(bool &fReindexing); | bool ReadReindexing(bool &fReindexing); | ||||
bool ReadTxIndex(const uint256 &txid, CDiskTxPos &pos); | bool ReadTxIndex(const uint256 &txid, CDiskTxPos &pos); | ||||
▲ Show 20 Lines • Show All 42 Lines • Show Last 20 Lines |
please leave this out, per D2983 (serves me right for backporting out-of-order =D )