On-disk statistics describing the contents of one block file.
Declared in <node/blockstorage.h>
class CBlockFileInfo;
| Name | Description |
|---|---|
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. |
| Name | Description |
|---|---|
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 |