MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / OpenBlockFile

Function OpenBlockFile

src/validation.cpp:4051–4053  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4049}
4050
4051FILE* OpenBlockFile(const CDiskBlockPos &pos, bool fReadOnly) {
4052 return OpenDiskFile(pos, "blk", fReadOnly);
4053}
4054
4055/** Open an undo file (rev?????.dat) */
4056static FILE* OpenUndoFile(const CDiskBlockPos &pos, bool fReadOnly) {

Callers 8

ThreadImportFunction · 0.85
WriteBlockToDiskFunction · 0.85
ReadBlockFromDiskFunction · 0.85
ReadRawBlockFromDiskFunction · 0.85
FlushBlockFileFunction · 0.85
FindBlockPosFunction · 0.85
EXCLUSIVE_LOCKS_REQUIREDFunction · 0.85
FindTxMethod · 0.85

Calls 1

OpenDiskFileFunction · 0.85

Tested by

no test coverage detected