diff options
| author | James O'Beirne <[email protected]> | 2019-04-17 10:07:15 -0400 |
|---|---|---|
| committer | James O'Beirne <[email protected]> | 2020-07-01 14:44:24 -0400 |
| commit | b223111da2e0e9ceccef75df8a20252b0094b7bc (patch) | |
| tree | db40a92d85a7bd7a3dd8ff413abad13f21062220 /src/init.cpp | |
| parent | Merge #18700: Fix locking on WSL using flock instead of fcntl (diff) | |
| download | discoin-b223111da2e0e9ceccef75df8a20252b0094b7bc.tar.xz discoin-b223111da2e0e9ceccef75df8a20252b0094b7bc.zip | |
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/init.cpp')
0 files changed, 0 insertions, 0 deletions