MCPcopy Create free account
hub / github.com/ElementsProject/elements / OpenBlockFile

Function OpenBlockFile

src/node/blockstorage.cpp:611–614  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

609}
610
611FILE* OpenBlockFile(const FlatFilePos& pos, bool fReadOnly)
612{
613 return BlockFileSeq().Open(pos, fReadOnly);
614}
615
616/** Open an undo file (rev?????.dat) */
617static FILE* OpenUndoFile(const FlatFilePos& pos, bool fReadOnly)

Callers 6

FindTxMethod · 0.85
LoadBlockIndexDBMethod · 0.85
WriteBlockToDiskFunction · 0.85
ReadBlockFromDiskFunction · 0.85
ReadRawBlockFromDiskFunction · 0.85
ThreadImportFunction · 0.85

Calls 2

BlockFileSeqFunction · 0.85
OpenMethod · 0.45

Tested by

no test coverage detected