![]() |
Bitcoin Core
24.1.0
P2P Digital Currency
|
#include <script/sign.h>#include <wallet/db.h>#include <wallet/walletutil.h>#include <key.h>#include <stdint.h>#include <string>#include <vector>Go to the source code of this file.
Classes | |
| class | wallet::CHDChain |
| class | wallet::CKeyMetadata |
| class | wallet::WalletBatch |
| Access to the wallet database. More... | |
Namespaces | |
| wallet | |
| wallet::DBKeys | |
Typedefs | |
| using | wallet::KeyFilterFn = std::function< bool(const std::string &)> |
| Callback for filtering key types to deserialize in ReadKeyValue. More... | |
Enumerations | |
| enum | wallet::DBErrors { wallet::DBErrors::LOAD_OK, wallet::DBErrors::CORRUPT, wallet::DBErrors::NONCRITICAL_ERROR, wallet::DBErrors::TOO_NEW, wallet::DBErrors::EXTERNAL_SIGNER_SUPPORT_REQUIRED, wallet::DBErrors::LOAD_FAIL, wallet::DBErrors::NEED_REWRITE, wallet::DBErrors::NEED_RESCAN, wallet::DBErrors::UNKNOWN_DESCRIPTOR } |
| Error statuses for the wallet database. More... | |
Functions | |
| void | wallet::MaybeCompactWalletDB (WalletContext &context) |
| Compacts BDB state so that wallet.dat is self-contained (if there are changes) More... | |
| bool | wallet::ReadKeyValue (CWallet *pwallet, CDataStream &ssKey, CDataStream &ssValue, std::string &strType, std::string &strErr, const KeyFilterFn &filter_fn=nullptr) |
| Unserialize a given Key-Value pair and load it into the wallet. More... | |
| std::unique_ptr< WalletDatabase > | wallet::CreateDummyWalletDatabase () |
| Return object for accessing dummy database with no read/write capabilities. More... | |
| std::unique_ptr< WalletDatabase > | wallet::CreateMockWalletDatabase (DatabaseOptions &options) |
| Return object for accessing temporary in-memory database. More... | |
| std::unique_ptr< WalletDatabase > | wallet::CreateMockWalletDatabase () |
Variables | |
| static const bool | wallet::DEFAULT_FLUSHWALLET = true |
| Overview of wallet database classes: More... | |
1.8.14