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

Function OpenUndoFile

src/validation.cpp:4056–4058  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

4054
4055/** Open an undo file (rev?????.dat) */
4056static FILE* OpenUndoFile(const CDiskBlockPos &pos, bool fReadOnly) {
4057 return OpenDiskFile(pos, "rev", fReadOnly);
4058}
4059
4060fs::path GetBlockPosFilename(const CDiskBlockPos &pos, const char *prefix)
4061{

Callers 4

UndoWriteToDiskFunction · 0.85
UndoReadFromDiskFunction · 0.85
FlushBlockFileFunction · 0.85
FindUndoPosFunction · 0.85

Calls 1

OpenDiskFileFunction · 0.85

Tested by

no test coverage detected