kernel::CBlockFileInfo

On-disk statistics describing the contents of one block file.

Synopsis

Declared in <node/blockstorage.h>

class CBlockFileInfo;

Member Functions

NameDescription
CBlockFileInfo [constructor]Construct an empty block-file info with all counters zeroed.
AddBlock update statistics (does not update nSize)
ToString Return a human-readable summary of the block-file statistics.

Data Members

NameDescription
nBlocks number of blocks stored in file
nHeightFirst lowest height of block in file
nHeightLast highest height of block in file
nSize number of used bytes of block file
nTimeFirst earliest time of block in file
nTimeLast latest time of block in file
nUndoSize number of used bytes in the undo file