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

Method GetBlockPos

src/chain.h:275–282  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

273 }
274
275 CDiskBlockPos GetBlockPos() const {
276 CDiskBlockPos ret;
277 if (nStatus & BLOCK_HAVE_DATA) {
278 ret.nFile = nFile;
279 ret.nPos = nDataPos;
280 }
281 return ret;
282 }
283
284 CDiskBlockPos GetUndoPos() const {
285 CDiskBlockPos ret;

Callers 4

ReadBlockFromDiskFunction · 0.80
ReadRawBlockFromDiskFunction · 0.80
BOOST_FIXTURE_TEST_CASEFunction · 0.80
WriteBlockMethod · 0.80

Calls

no outgoing calls

Tested by 1

BOOST_FIXTURE_TEST_CASEFunction · 0.64