[#CBlockIndex-RaiseValidity]
= xref:CBlockIndex.adoc[CBlockIndex]::RaiseValidity
:relfileprefix: ../
:mrdocs:

Raise the validity level of this block index entry&period; Returns true if the validity was changed&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;requires&lowbar;capability(0x7f2e18da6a78), requires&lowbar;capability(0x7f2e18c0abd8), requires&lowbar;capability(0x7f2e3219d038), requires&lowbar;capability(0x7f2e34801468), requires&lowbar;capability(0x7f2e331bb8c8), requires&lowbar;capability(0x7f2e32e73828), requires&lowbar;capability(0x7f2e42eed178), requires&lowbar;capability(0x7f2e2ad45ae8), requires&lowbar;capability(0x7f2e318b8368), requires&lowbar;capability(0x7f2e283ee2c8), requires&lowbar;capability(0x7f2e29d406d8)&rsqb;&rsqb;
bool
RaiseValidity(xref:BlockStatus.adoc[BlockStatus] nUpTo);
----

== Return Value

True if the validity level was raised, otherwise false&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *nUpTo*
| The validity level to raise the entry to&period;
|===


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