[#CBlockIndex-IsValid] = xref:CBlockIndex.adoc[CBlockIndex]::IsValid :relfileprefix: ../ :mrdocs: Check whether this block index entry is valid up to the passed validity level. == Synopsis Declared in `<chain.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[requires_capability(0x7ff36cbf2a78), requires_capability(0x7ff379204fb8), requires_capability(0x7ff39283af98), requires_capability(0x7ff3833692b8), requires_capability(0x7ff38bd20e18), requires_capability(0x7ff392c20cd8), requires_capability(0x7ff36c1618e8), requires_capability(0x7ff381ccf438), requires_capability(0x7ff38d75c488), requires_capability(0x7ff36872d138), requires_capability(0x7ff3743a6e78)]] bool IsValid(xref:BlockStatus.adoc[BlockStatus] nUpTo) const; ---- == Return Value True if the entry has reached at least the given validity level and has not failed. == Parameters [cols="1,4"] |=== | Name| Description | *nUpTo* | The validity level to check against. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#