Chainstate::FindMostWorkChain

Find the candidate block index entry with the most work.

Synopsis

Declared in <validation.h>

[[requires_capability(0x7fd753c9cd28), requires_capability(0x7fd74db5e7f8), requires_capability(0x7fd74ab60818), requires_capability(0x7fd73ea7b6d8)]]
CBlockIndex*
FindMostWorkChain();

Return Value

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