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

Function OpenBlockFile

src/validation.cpp:3607–3609  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3605}
3606
3607FILE* OpenBlockFile(const CDiskBlockPos &pos, bool fReadOnly) {
3608 return OpenDiskFile(pos, "blk", fReadOnly);
3609}
3610
3611FILE* OpenUndoFile(const CDiskBlockPos &pos, bool fReadOnly) {
3612 return OpenDiskFile(pos, "rev", fReadOnly);

Callers 7

ThreadImportFunction · 0.85
GetTransactionFunction · 0.85
WriteBlockToDiskFunction · 0.85
ReadBlockOrHeaderFunction · 0.85
FlushBlockFileFunction · 0.85
FindBlockPosFunction · 0.85
LoadBlockIndexDBFunction · 0.85

Calls 1

OpenDiskFileFunction · 0.85

Tested by

no test coverage detected