[#CChain-SetTip] = xref:CChain.adoc[CChain]::SetTip :relfileprefix: ../ :mrdocs: Set/initialize a chain with a given tip. == Synopsis Declared in `<chain.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void SetTip(xref:CBlockIndex.adoc[CBlockIndex]& block); ---- == Parameters [cols="1,4"] |=== | Name| Description | *block* | The block index entry to set as the new tip. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#