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(0x7ff37b901378), requires_capability(0x7ff375c47f88), requires_capability(0x7ff37e052df8), requires_capability(0x7ff375933d58)]]
void
InitCoinsCache(size_t cache_size_bytes);

Parameters

NameDescription
cache_size_bytesSize budget for the in-memory coins cache.