CChain::Contains

Efficiently check whether a block is present in this chain.

Synopsis

Declared in <chain.h>

bool
Contains(CBlockIndex const& index) const;

Return Value

True if the entry is part of this chain, otherwise false.

Parameters

NameDescription
indexThe block index entry to look for.