Chainstate::FindMostWorkChain

Find the candidate block index entry with the most work.

Synopsis

Declared in <validation.h>

[[requires_capability(0x7fbc8fb67468), requires_capability(0x7fbc96bffad8), requires_capability(0x7fbcaf5d6ee8), requires_capability(0x7fbc9e0dd6b8)]]
CBlockIndex*
FindMostWorkChain();

Return Value

The most-work candidate block index entry, or nullptr if none qualifies.