diff options
| author | James O'Beirne <[email protected]> | 2019-09-16 15:01:12 -0400 |
|---|---|---|
| committer | James O'Beirne <[email protected]> | 2020-07-01 14:44:28 -0400 |
| commit | f36aaa6392fdbdac6891d92202d3efeff98754f4 (patch) | |
| tree | 4cebab3fa566f6f9dc53228b92264f1cda6095b1 /src/script/script.cpp | |
| parent | txdb: add CCoinsViewDB::ChangeCacheSize (diff) | |
| download | discoin-f36aaa6392fdbdac6891d92202d3efeff98754f4.tar.xz discoin-f36aaa6392fdbdac6891d92202d3efeff98754f4.zip | |
Add CChainState::ResizeCoinsCaches
Also adds CCoinsViewCache::ReallocateCache() to attempt to free
memory that the cacheCoins's allocator may be hanging onto when
downsizing the cache.
Adds `CChainState::m_coins{tip,db}_cache_size_bytes` data members
so that we can reference cache size on a per-chainstate basis for
flushing.
Diffstat (limited to 'src/script/script.cpp')
0 files changed, 0 insertions, 0 deletions