Update blockfile info while processing a block during reindex. The block must be available on disk.

Synopsis

Declared in <node/blockstorage.h>

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