[#kernel-CBlockFileInfo] = xref:kernel.adoc[kernel]::CBlockFileInfo :relfileprefix: ../ :mrdocs: On‐disk statistics describing the contents of one block file. == Synopsis Declared in `<node/blockstorage.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class CBlockFileInfo; ---- == Member Functions [cols="1,4"] |=== | Name| Description | xref:kernel/CBlockFileInfo/2constructor.adoc[`CBlockFileInfo`] [.small]#[constructor]# | Construct an empty block‐file info with all counters zeroed. | xref:kernel/CBlockFileInfo/AddBlock.adoc[`AddBlock`] | update statistics (does not update nSize) | xref:kernel/CBlockFileInfo/ToString.adoc[`ToString`] | Return a human‐readable summary of the block‐file statistics. |=== == Data Members [cols="1,4"] |=== | Name| Description | xref:kernel/CBlockFileInfo/nBlocks.adoc[`nBlocks`] | number of blocks stored in file | xref:kernel/CBlockFileInfo/nHeightFirst.adoc[`nHeightFirst`] | lowest height of block in file | xref:kernel/CBlockFileInfo/nHeightLast.adoc[`nHeightLast`] | highest height of block in file | xref:kernel/CBlockFileInfo/nSize.adoc[`nSize`] | number of used bytes of block file | xref:kernel/CBlockFileInfo/nTimeFirst.adoc[`nTimeFirst`] | earliest time of block in file | xref:kernel/CBlockFileInfo/nTimeLast.adoc[`nTimeLast`] | latest time of block in file | xref:kernel/CBlockFileInfo/nUndoSize.adoc[`nUndoSize`] | number of used bytes in the undo file |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#