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

Function GetBlockPosFilename

src/validation.cpp:4060–4063  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4058}
4059
4060fs::path GetBlockPosFilename(const CDiskBlockPos &pos, const char *prefix)
4061{
4062 return GetBlocksDir() / strprintf("%s%05u.dat", prefix, pos.nFile);
4063}
4064
4065CBlockIndex * CChainState::InsertBlockIndex(const uint256& hash)
4066{

Callers 3

ThreadImportFunction · 0.85
UnlinkPrunedFilesFunction · 0.85
OpenDiskFileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected