Chainstate::FindForkInGlobalIndex

Find the last common block of this chain and a locator.

Synopsis

Declared in <validation.h>

CBlockIndex const*
FindForkInGlobalIndex(CBlockLocator const& locator) const;

Return Value

The most recent block index entry common to both chains.

Parameters

NameDescription
locatorBlock locator describing the other chain.