MCPcopy Create free account
hub / github.com/WaykiChain/WaykiChain / OpenUndoFile

Function OpenUndoFile

src/persistence/blockundo.cpp:10–12  ·  view source on GitHub ↗

Open an undo file (rev?????.dat) */

Source from the content-addressed store, hash-verified

8
9/** Open an undo file (rev?????.dat) */
10FILE *OpenUndoFile(const CDiskBlockPos &pos, bool fReadOnly) {
11 return OpenDiskFile(pos, "rev", fReadOnly);
12}
13
14////////////////////////////////////////////////////////////////////////////////
15// class CTxUndo

Callers 4

FlushBlockFileFunction · 0.85
FindUndoPosFunction · 0.85
WriteToDiskMethod · 0.85
ReadFromDiskMethod · 0.85

Calls 1

OpenDiskFileFunction · 0.85

Tested by

no test coverage detected