MCPcopy Create free account
hub / github.com/LUX-Core/lux / GetBlockPosFilename

Function GetBlockPosFilename

src/main.cpp:5356–5359  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5354}
5355
5356boost::filesystem::path GetBlockPosFilename(const CDiskBlockPos& pos, const char* prefix)
5357{
5358 return GetDataDir() / "blocks" / strprintf("%s%05u.dat", prefix, pos.nFile);
5359}
5360
5361CBlockIndex* InsertBlockIndex(uint256 hash)
5362{

Callers 4

DeleteAllBlockFilesFunction · 0.85
ThreadImportFunction · 0.85
UnlinkPrunedFilesFunction · 0.85
OpenDiskFileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected