[#CoinStatsIndex-CustomInit] = xref:CoinStatsIndex.adoc[CoinStatsIndex]::CustomInit :relfileprefix: ../ :mrdocs: Restore the running UTXO statistics from the database on startup. == Synopsis Declared in `<index/coinstatsindex.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual bool CustomInit(std::optional<interfaces::BlockRef> const& block) override; ---- == Return Value True on success. == Parameters [cols="1,4"] |=== | Name| Description | *block* | Best block recorded in the database, if any. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#