Bitcoin
Classes | Functions
walletdb.cpp File Reference
#include <wallet/walletdb.h>
#include <consensus/tx_check.h>
#include <consensus/validation.h>
#include <fs.h>
#include <key_io.h>
#include <protocol.h>
#include <serialize.h>
#include <sync.h>
#include <util/system.h>
#include <util/time.h>
#include <wallet/wallet.h>
#include <atomic>
#include <string>
#include <boost/thread.hpp>

Classes

class  CWalletScanState
 

Functions

static bool ReadKeyValue (CWallet *pwallet, CDataStream &ssKey, CDataStream &ssValue, CWalletScanState &wss, std::string &strType, std::string &strErr) EXCLUSIVE_LOCKS_REQUIRED(pwallet -> cs_wallet)
 
void MaybeCompactWalletDB ()
 Compacts BDB state so that wallet.dat is self-contained (if there are changes) More...
 

Function Documentation

◆ MaybeCompactWalletDB()

void MaybeCompactWalletDB ( )

Compacts BDB state so that wallet.dat is self-contained (if there are changes)

◆ ReadKeyValue()

static bool ReadKeyValue ( CWallet pwallet,
CDataStream ssKey,
CDataStream ssValue,
CWalletScanState wss,
std::string &  strType,
std::string &  strErr 
) -> cs_wallet)
static