[#Chainstate-ResetBlockFailureFlags]
= xref:Chainstate.adoc[Chainstate]::ResetBlockFailureFlags
:relfileprefix: ../
:mrdocs:

Remove invalidity status from a block, its descendants and ancestors and reconsider them for activation&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;requires&lowbar;capability(0x7f9513ab4ee8), requires&lowbar;capability(0x7f9502c97f58), requires&lowbar;capability(0x7f9525449c88), requires&lowbar;capability(0x7f95173fff68)&rsqb;&rsqb;
void
ResetBlockFailureFlags(xref:CBlockIndex.adoc[CBlockIndex]* pindex);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *pindex*
| Block index entry whose failure flags are cleared&period;
|===


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