aboutsummaryrefslogtreecommitdiff
path: root/src/test/validation_chainstatemanager_tests.cpp
diff options
context:
space:
mode:
authorJames O'Beirne <james.obeirne@gmail.com>2019-04-17 10:07:15 -0400
committerJames O'Beirne <james.obeirne@pm.me>2020-07-01 14:44:24 -0400
commitb223111da2e0e9ceccef75df8a20252b0094b7bc (patch)
treedb40a92d85a7bd7a3dd8ff413abad13f21062220 /src/test/validation_chainstatemanager_tests.cpp
parentea3e9e0b84c57df4110ca9e5ccced65c5bbe4611 (diff)
downloadbitcoin-b223111da2e0e9ceccef75df8a20252b0094b7bc.tar.xz
txdb: add CCoinsViewDB::ChangeCacheSize
We'll need this to dynamically update the cache size of the existing CCoinsViewDB instance when we create a new one during snapshot activation. This requires us to keep the CDBWrapper instance as a pointer instead of a reference so that we're able to destruct it and create a new instance when the cache size changes. Also renames `db` to `m_db` since we're already modifying each usage. Includes feedback from Russ Yanofsky.
Diffstat (limited to 'src/test/validation_chainstatemanager_tests.cpp')
0 files changed, 0 insertions, 0 deletions