[#LastCommonAncestor] = LastCommonAncestor :mrdocs: Find the forking point between two chain tips. == Synopsis Declared in `<chain.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:CBlockIndex.adoc[CBlockIndex] const* LastCommonAncestor( xref:CBlockIndex.adoc[CBlockIndex] const* pa, xref:CBlockIndex.adoc[CBlockIndex] const* pb); ---- == Return Value The most recent common ancestor of the two entries, or nullptr if none. == Parameters [cols="1,4"] |=== | Name| Description | *pa* | The first block index entry. | *pb* | The second block index entry. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#