[#kernel-CBlockFileInfo-AddBlock] = xref:kernel.adoc[kernel]::xref:kernel/CBlockFileInfo.adoc[CBlockFileInfo]::AddBlock :relfileprefix: ../../ :mrdocs: update statistics (does not update nSize) == Synopsis Declared in `<node/blockstorage.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void AddBlock( unsigned int nHeightIn, uint64_t nTimeIn); ---- == Parameters [cols="1,4"] |=== | Name| Description | *nHeightIn* | Height of the block being added. | *nTimeIn* | Block time of the block being added. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#