[#ChainstateManager-UpdateUncommittedBlockStructures]
= xref:ChainstateManager.adoc[ChainstateManager]::UpdateUncommittedBlockStructures
:relfileprefix: ../
:mrdocs:

Update uncommitted block structures (currently&colon; only the witness reserved value)&period; This is safe for submitted blocks as long as they honor default&lowbar;witness&lowbar;commitment from the template&period;

== Synopsis

Declared in `&lt;validation&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
UpdateUncommittedBlockStructures(
    xref:CBlock.adoc[CBlock]& block,
    xref:CBlockIndex.adoc[CBlockIndex] const* pindexPrev) const;
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *block*
| The block whose uncommitted structures are updated&period;
| *pindexPrev*
| Block index entry of the parent block&period;
|===


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