[#Chainstate-FindForkInGlobalIndex] = xref:Chainstate.adoc[Chainstate]::FindForkInGlobalIndex :relfileprefix: ../ :mrdocs: Find the last common block of this chain and a locator. == Synopsis Declared in `<validation.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[requires_capability(0x7f2e1ba84ea8), requires_capability(0x7f2e14564af8), requires_capability(0x7f2e373bdca8), requires_capability(0x7f2e36e348f8)]] xref:CBlockIndex.adoc[CBlockIndex] const* FindForkInGlobalIndex(xref:CBlockLocator.adoc[CBlockLocator] const& locator) const; ---- == Return Value The most recent block index entry common to both chains. == Parameters [cols="1,4"] |=== | Name| Description | *locator* | Block locator describing the other chain. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#