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

update statistics (does not update nSize)

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
AddBlock(
    unsigned int nHeightIn,
    uint64&lowbar;t nTimeIn);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *nHeightIn*
| Height of the block being added&period;
| *nTimeIn*
| Block time of the block being added&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
