Changeset View
Changeset View
Standalone View
Standalone View
src/node/blockstorage.h
Show First 20 Lines • Show All 232 Lines • ▼ Show 20 Lines | |||||
bool ReadBlockFromDisk(CBlock &block, const CBlockIndex *pindex, | bool ReadBlockFromDisk(CBlock &block, const CBlockIndex *pindex, | ||||
const Consensus::Params &consensusParams); | const Consensus::Params &consensusParams); | ||||
bool UndoReadFromDisk(CBlockUndo &blockundo, const CBlockIndex *pindex); | bool UndoReadFromDisk(CBlockUndo &blockundo, const CBlockIndex *pindex); | ||||
/** Functions for disk access for txs */ | /** Functions for disk access for txs */ | ||||
bool ReadTxFromDisk(CMutableTransaction &tx, const FlatFilePos &pos); | bool ReadTxFromDisk(CMutableTransaction &tx, const FlatFilePos &pos); | ||||
bool ReadTxUndoFromDisk(CTxUndo &tx, const FlatFilePos &pos); | bool ReadTxUndoFromDisk(CTxUndo &tx, const FlatFilePos &pos); | ||||
void ThreadImport(const Config &config, ChainstateManager &chainman, | void ThreadImport(ChainstateManager &chainman, | ||||
std::vector<fs::path> vImportFiles, const ArgsManager &args, | std::vector<fs::path> vImportFiles, const ArgsManager &args, | ||||
const fs::path &mempool_path); | const fs::path &mempool_path); | ||||
} // namespace node | } // namespace node | ||||
#endif // BITCOIN_NODE_BLOCKSTORAGE_H | #endif // BITCOIN_NODE_BLOCKSTORAGE_H |