[#kernel-CBlockFileInfo]
= xref:kernel.adoc[kernel]::CBlockFileInfo
:relfileprefix: ../
:mrdocs:

On&hyphen;disk statistics describing the contents of one block file&period;

== Synopsis

Declared in `&lt;node&sol;blockstorage&period;h&gt;`

[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&hyphen;file info with all counters zeroed&period;
| xref:kernel/CBlockFileInfo/AddBlock.adoc[`AddBlock`] 
| update statistics (does not update nSize)
| xref:kernel/CBlockFileInfo/ToString.adoc[`ToString`] 
| Return a human&hyphen;readable summary of the block&hyphen;file statistics&period;
|===


== 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]#
