[#node-BlockManager-UpdateBlockInfo]
= xref:node.adoc[node]::xref:node/BlockManager.adoc[BlockManager]::UpdateBlockInfo
:relfileprefix: ../../
:mrdocs:

Update blockfile info while processing a block during reindex&period; The block must be available on disk&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;requires&lowbar;capability(0x7f95130c95c8), requires&lowbar;capability(0x7f950163c8b8), requires&lowbar;capability(0x7f95241d98a8), requires&lowbar;capability(0x7f951f330ba8), requires&lowbar;capability(0x7f950b9c2b68), requires&lowbar;capability(0x7f95175c52b8)&rsqb;&rsqb;
void
UpdateBlockInfo(
    xref:CBlock.adoc[CBlock] const& block,
    unsigned int nHeight,
    xref:FlatFilePos.adoc[FlatFilePos] const& pos);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *block* [in]
| the block being processed
| *nHeight* [in]
| the height of the block
| *pos* [in]
| the position of the serialized CBlock on disk
|===


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