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(0x7fbc8fb65398), requires_capability(0x7fbc96bfda08), requires_capability(0x7fbcaf5d4e18), requires_capability(0x7fbc9e0db5e8)]]
void
InitCoinsCache(size_t cache_size_bytes);

Parameters

NameDescription
cache_size_bytesSize budget for the in-memory coins cache.