[#BaseIndex-SetBestBlockIndex] = xref:BaseIndex.adoc[BaseIndex]::SetBestBlockIndex :relfileprefix: ../ :mrdocs: Update the internal best block index as well as the prune lock. == Synopsis Declared in `<index/base.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void SetBestBlockIndex(xref:CBlockIndex.adoc[CBlockIndex] const* block); ---- == Parameters [cols="1,4"] |=== | Name| Description | *block* | Block index entry to record as the new best block. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#