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

Function OpenBlockFile

src/main.cpp:3799–3801  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3797}
3798
3799FILE* OpenBlockFile(const CDiskBlockPos &pos, bool fReadOnly) {
3800 return OpenDiskFile(pos, "blk", fReadOnly);
3801}
3802
3803FILE* OpenUndoFile(const CDiskBlockPos &pos, bool fReadOnly) {
3804 return OpenDiskFile(pos, "rev", fReadOnly);

Callers 7

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

Calls 1

OpenDiskFileFunction · 0.85

Tested by

no test coverage detected