![]() |
Bitcoin Core 31.0.0
P2P Digital Currency
|
#include <dbwrapper.h>#include <leveldb/cache.h>#include <leveldb/db.h>#include <leveldb/env.h>#include <leveldb/filter_policy.h>#include <leveldb/helpers/memenv/memenv.h>#include <leveldb/iterator.h>#include <leveldb/options.h>#include <leveldb/slice.h>#include <leveldb/status.h>#include <leveldb/write_batch.h>#include <logging.h>#include <random.h>#include <serialize.h>#include <span.h>#include <streams.h>#include <util/fs.h>#include <util/fs_helpers.h>#include <util/log.h>#include <util/obfuscation.h>#include <util/strencodings.h>#include <algorithm>#include <cassert>#include <cstdarg>#include <cstdint>#include <cstdio>#include <memory>#include <optional>#include <utility>Go to the source code of this file.
Classes | |
| class | CBitcoinLevelDBLogger |
| struct | CDBBatch::WriteBatchImpl |
| struct | LevelDBContext |
| struct | CDBIterator::IteratorImpl |
Namespaces | |
| namespace | dbwrapper_private |
| These should be considered an implementation detail of the specific database. | |
Functions | |
| static auto | CharCast (const std::byte *data) |
| bool | DestroyDB (const std::string &path_str) |
| static void | HandleError (const leveldb::Status &status) |
| Handle database error by throwing dbwrapper_error exception. | |
| static void | SetMaxOpenFiles (leveldb::Options *options) |
| static leveldb::Options | GetOptions (size_t nCacheSize) |
| const Obfuscation & | dbwrapper_private::GetObfuscation (const CDBWrapper &) |
| Work around circular dependency, as well as for testing in dbwrapper_tests. | |
| bool DestroyDB | ( | const std::string & | path_str | ) |
Definition at line 39 of file dbwrapper.cpp.
Definition at line 139 of file dbwrapper.cpp.
Handle database error by throwing dbwrapper_error exception.
Definition at line 46 of file dbwrapper.cpp.
Definition at line 114 of file dbwrapper.cpp.