MCPcopy Create free account
hub / github.com/bitcoinxt/bitcoinxt / GetBlockPosFilename

Function GetBlockPosFilename

src/main.cpp:3807–3810  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3805}
3806
3807boost::filesystem::path GetBlockPosFilename(const CDiskBlockPos &pos, const char *prefix)
3808{
3809 return GetDataDir() / "blocks" / strprintf("%s%05u.dat", prefix, pos.nFile);
3810}
3811
3812CBlockIndex * InsertBlockIndex(uint256 hash)
3813{

Callers 3

ThreadImportFunction · 0.85
UnlinkPrunedFilesFunction · 0.85
OpenDiskFileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected