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

Set invalidity status to all descendants of a block&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;requires&lowbar;capability(0x7f9513ab4e38), requires&lowbar;capability(0x7f9502c97ea8), requires&lowbar;capability(0x7f9525449bd8), requires&lowbar;capability(0x7f95173ffeb8)&rsqb;&rsqb;
void
SetBlockFailureFlags(xref:CBlockIndex.adoc[CBlockIndex]* pindex);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *pindex*
| Block index entry whose descendants are marked invalid&period;
|===


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