Resize the CoinsViews caches dynamically and flush state to disk.
Declared in <validation.h>
[[requires_capability(0x7fbc8fb65df8), requires_capability(0x7fbc96bfe468), requires_capability(0x7fbcaf5d5878), requires_capability(0x7fbc9e0dc048)]]
bool
ResizeCoinsCaches(
size_t coinstip_size,
size_t coinsdb_size);
true unless an error occurred during the flush.
| 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. |