Find the forking point between two chain tips.
Declared in <chain.h>
CBlockIndex const*
LastCommonAncestor(
CBlockIndex const* pa,
CBlockIndex const* pb);
The most recent common ancestor of the two entries, or nullptr if none.
| Name | Description |
|---|---|
| pa | The first block index entry. |
| pb | The second block index entry. |