aboutsummaryrefslogtreecommitdiff
path: root/src/script/script.cpp
diff options
context:
space:
mode:
authorJames O'Beirne <[email protected]>2019-09-16 15:01:12 -0400
committerJames O'Beirne <[email protected]>2020-07-01 14:44:28 -0400
commitf36aaa6392fdbdac6891d92202d3efeff98754f4 (patch)
tree4cebab3fa566f6f9dc53228b92264f1cda6095b1 /src/script/script.cpp
parenttxdb: add CCoinsViewDB::ChangeCacheSize (diff)
downloaddiscoin-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