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

Function GetBlockPosFilename

src/node/blockstorage.cpp:622–625  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

620}
621
622fs::path GetBlockPosFilename(const FlatFilePos& pos)
623{
624 return BlockFileSeq().FileName(pos);
625}
626
627bool BlockManager::FindBlockPos(FlatFilePos& pos, unsigned int nAddSize, unsigned int nHeight, CChain& active_chain, uint64_t nTime, bool fKnown)
628{

Callers 1

ThreadImportFunction · 0.85

Calls 2

BlockFileSeqFunction · 0.85
FileNameMethod · 0.80

Tested by

no test coverage detected