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

Function OpenUndoFile

src/node/blockstorage.cpp:617–620  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

615
616/** Open an undo file (rev?????.dat) */
617static FILE* OpenUndoFile(const FlatFilePos& pos, bool fReadOnly)
618{
619 return UndoFileSeq().Open(pos, fReadOnly);
620}
621
622fs::path GetBlockPosFilename(const FlatFilePos& pos)
623{

Callers 2

UndoWriteToDiskFunction · 0.85
UndoReadFromDiskFunction · 0.85

Calls 2

UndoFileSeqFunction · 0.85
OpenMethod · 0.45

Tested by

no test coverage detected