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

Synopsis

Declared in <validation.h>

[[requires_capability(0x7ff37b902af8), requires_capability(0x7ff375c49708), requires_capability(0x7ff37e054578), requires_capability(0x7ff3759354d8)]]
CBlockIndex const*
FindForkInGlobalIndex(CBlockLocator const& locator) const;

Return Value

The most recent block index entry common to both chains.

Parameters

Name

Description

locator

Block locator describing the other chain.

Created with MrDocs