![]() |
Bitcoin Core
24.99.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 class | wallet::DBErrors { wallet::LOAD_OK , wallet::CORRUPT , wallet::NONCRITICAL_ERROR , wallet::TOO_NEW , wallet::EXTERNAL_SIGNER_SUPPORT_REQUIRED , wallet::LOAD_FAIL , wallet::NEED_REWRITE , wallet::NEED_RESCAN , wallet::UNKNOWN_DESCRIPTOR , wallet::UNEXPECTED_LEGACY_ENTRY } |
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, DataStream &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... | |