Chainstate::InitCoinsCache

Initialize the in-memory coins cache (to be done after the health of the on-disk database is verified).

Synopsis

Declared in <validation.h>

[[requires_capability(0x7fd753c9ac58), requires_capability(0x7fd74db5c728), requires_capability(0x7fd74ab5e748), requires_capability(0x7fd73ea79608)]]
void
InitCoinsCache(size_t cache_size_bytes);

Parameters

NameDescription
cache_size_bytesSize budget for the in-memory coins cache.