Initialize the CoinsViews UTXO set database management data structures. The in‐memory cache is initialized separately.

Synopsis

Declared in <validation.h>

void
InitCoinsDB(
    size_t cache_size_bytes,
    bool in_memory,
    bool should_wipe);

Description

All parameters forwarded to CoinsViews.

Parameters

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.

Created with MrDocs