Bitcoin Core  26.1.0
P2P Digital Currency
Classes | Namespaces | Enumerations | Functions | Variables
walletdb.h File Reference
#include <script/sign.h>
#include <wallet/db.h>
#include <wallet/walletutil.h>
#include <key.h>
#include <stdint.h>
#include <string>
#include <vector>
Include dependency graph for walletdb.h:
This graph shows which files directly or indirectly include this file:

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
 

Enumerations

enum  wallet::DBErrors : int {
  wallet::DBErrors::LOAD_OK = 0, wallet::DBErrors::NEED_RESCAN = 1, wallet::DBErrors::NEED_REWRITE = 2, wallet::DBErrors::EXTERNAL_SIGNER_SUPPORT_REQUIRED = 3,
  wallet::DBErrors::NONCRITICAL_ERROR = 4, wallet::DBErrors::TOO_NEW = 5, wallet::DBErrors::UNKNOWN_DESCRIPTOR = 6, wallet::DBErrors::LOAD_FAIL = 7,
  wallet::DBErrors::UNEXPECTED_LEGACY_ENTRY = 8, wallet::DBErrors::CORRUPT = 9
}
 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::LoadKey (CWallet *pwallet, DataStream &ssKey, DataStream &ssValue, std::string &strErr)
 
bool wallet::LoadCryptedKey (CWallet *pwallet, DataStream &ssKey, DataStream &ssValue, std::string &strErr)
 
bool wallet::LoadEncryptionKey (CWallet *pwallet, DataStream &ssKey, DataStream &ssValue, std::string &strErr)
 
bool wallet::LoadHDChain (CWallet *pwallet, DataStream &ssValue, std::string &strErr)
 

Variables

static const bool wallet::DEFAULT_FLUSHWALLET = true
 Overview of wallet database classes: More...