[#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(0x7fb95cc63008), requires_capability(0x7fb97da0eb28), requires_capability(0x7fb969041018), requires_capability(0x7fb96e677868), requires_capability(0x7fb96bda92c8), requires_capability(0x7fb96a98f3a8), requires_capability(0x7fb97e605f88), requires_capability(0x7fb96f3e55a8), requires_capability(0x7fb958b0af48), requires_capability(0x7fb98541fa28), requires_capability(0x7fb9645578f8)]] 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]#