[#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(0x7f2e18da69a8), requires_capability(0x7f2e18c0ab08), requires_capability(0x7f2e3219cf68), requires_capability(0x7f2e34801398), requires_capability(0x7f2e331bb7f8), requires_capability(0x7f2e32e73758), requires_capability(0x7f2e42eed0a8), requires_capability(0x7f2e2ad45a18), requires_capability(0x7f2e318b8298), requires_capability(0x7f2e283ee1f8), requires_capability(0x7f2e29d40608)]] 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]#