Chainstate::TryAddBlockIndexCandidate

Add a block to the candidate set if it has as much work as the current tip.

Synopsis

Declared in <validation.h>

void
TryAddBlockIndexCandidate(CBlockIndex* pindex);

Parameters

NameDescription
pindexBlock index entry to consider as a candidate.