kernel::BlockTreeDB::ReadBlockFileInfo

Read the stored info for one block file.

Synopsis

Declared in <node/blockstorage.h>

bool
ReadBlockFileInfo(
    int nFile,
    CBlockFileInfo& info);

Return Value

True on success, false if the entry could not be read.

Parameters

NameDescription
nFileThe block-file number to read.
infoOutput filled with the block-file info.