[#Chainstate-InitCoinsDB] = xref:Chainstate.adoc[Chainstate]::InitCoinsDB :relfileprefix: ../ :mrdocs: Initialize the CoinsViews UTXO set database management data structures. The in‐memory cache is initialized separately. == Synopsis Declared in `<validation.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void InitCoinsDB( size_t cache_size_bytes, bool in_memory, bool should_wipe); ---- == Description All parameters forwarded to CoinsViews. == Parameters [cols="1,4"] |=== | Name| Description | *cache_size_bytes* | Size budget for the on‐disk coins database cache. | *in_memory* | Whether the database should be kept in memory only. | *should_wipe* | Whether to wipe any existing database contents. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#