Update blockfile info while processing a block during reindex. The block must be available on disk.
Synopsis
Declared in <node/blockstorage.h>
[[requires_capability(0x7fd7532b0a08), requires_capability(0x7fd74e9c7958), requires_capability(0x7fd75a26b6a8), requires_capability(0x7fd74f16eb28), requires_capability(0x7fd74a00e1c8), requires_capability(0x7fd753265ad8)]]
void
UpdateBlockInfo(
CBlock const& block,
unsigned int nHeight,
FlatFilePos const& pos);
Parameters
Name |
Description |
block [in] |
the block being processed |
nHeight [in] |
the height of the block |
pos [in] |
the position of the serialized CBlock on disk |
Created with MrDocs