diff options
author | James O'Beirne <james.obeirne@pm.me> | 2022-02-01 16:22:00 -0500 |
---|---|---|
committer | James O'Beirne <james.obeirne@pm.me> | 2022-09-13 12:38:06 -0400 |
commit | d14bebf100aaaa25c7558eeed8b5c536da99885f (patch) | |
tree | ccebf20faa56670c317a72ff1af1debe9eba7e42 /src/dbwrapper.cpp | |
parent | 29d540b7ada890dd588c4825d40c27c5e6f20061 (diff) |
db: add StoragePath to CDBWrapper/CCoinsViewDB
This is used in subsequent commits. It allows us to clean up UTXO
snapshot chainstate after background validation completes.
Diffstat (limited to 'src/dbwrapper.cpp')
-rw-r--r-- | src/dbwrapper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dbwrapper.cpp b/src/dbwrapper.cpp index 4dbc839941..7f45e35aef 100644 --- a/src/dbwrapper.cpp +++ b/src/dbwrapper.cpp @@ -128,7 +128,7 @@ static leveldb::Options GetOptions(size_t nCacheSize) } CDBWrapper::CDBWrapper(const fs::path& path, size_t nCacheSize, bool fMemory, bool fWipe, bool obfuscate) - : m_name{fs::PathToString(path.stem())} + : m_name{fs::PathToString(path.stem())}, m_path{path}, m_is_memory{fMemory} { penv = nullptr; readoptions.verify_checksums = true; |