[#CChain-FindFork] = xref:CChain.adoc[CChain]::FindFork :relfileprefix: ../ :mrdocs: Find the last common block between this chain and a block index entry. == Synopsis Declared in `<chain.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:CBlockIndex.adoc[CBlockIndex] const* FindFork(xref:CBlockIndex.adoc[CBlockIndex] const& index) const; ---- == Return Value The most recent block index entry common to both, or nullptr if none. == Parameters [cols="1,4"] |=== | Name| Description | *index* | The block index entry to compare against this chain. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#