CBlockIndex::IsValid

Check whether this block index entry is valid up to the passed validity level.

Synopsis

Declared in <chain.h>

bool
IsValid(BlockStatus nUpTo) const;

Return Value

True if the entry has reached at least the given validity level and has not failed.

Parameters

NameDescription
nUpToThe validity level to check against.