Initialize the CoinsViews UTXO set database management data structures. The in-memory cache is initialized separately.
Declared in <validation.h>
void
InitCoinsDB(
size_t cache_size_bytes,
bool in_memory,
bool should_wipe);
All parameters forwarded to CoinsViews.
| 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. |