Update blockfile info while processing a block during reindex. The block must be available on disk.
Synopsis
Declared in <node/blockstorage.h>
[[requires_capability(0x7f2e1b099578), requires_capability(0x7f2e26d1acd8), requires_capability(0x7f2e375e0db8), requires_capability(0x7f2e33368178), requires_capability(0x7f2e3542f168), requires_capability(0x7f2e28a73cc8)]]
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