Resize the CoinsViews caches dynamically and flush state to disk.

Synopsis

Declared in <validation.h>

[[requires_capability(0x7fd753c9b6b8), requires_capability(0x7fd74db5d188), requires_capability(0x7fd74ab5f1a8), requires_capability(0x7fd73ea7a068)]]
bool
ResizeCoinsCaches(
    size_t coinstip_size,
    size_t coinsdb_size);

Return Value

true unless an error occurred during the flush.

Parameters

Name

Description

coinstip_size

New size budget for the in‐memory coins cache.

coinsdb_size

New size budget for the on‐disk coins database cache.

Created with MrDocs