Bitcoin Core  26.99.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.


class  wallet::CHDChain
class  wallet::CKeyMetadata
class  wallet::WalletBatch
 Access to the wallet database. More...




enum class  wallet::DBErrors : int {
  wallet::LOAD_OK = 0 , wallet::NEED_RESCAN = 1 , wallet::NEED_REWRITE = 2 , wallet::EXTERNAL_SIGNER_SUPPORT_REQUIRED = 3 ,
  wallet::NONCRITICAL_ERROR = 4 , wallet::TOO_NEW = 5 , wallet::UNKNOWN_DESCRIPTOR = 6 , wallet::LOAD_FAIL = 7 ,
  wallet::UNEXPECTED_LEGACY_ENTRY = 8 , wallet::CORRUPT = 9
 Error statuses for the wallet database. More...


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)


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