Master Core  v0.0.9 - 2abfd2849db8ba7a83957c64eb976b406713c123
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Enumerations | Functions
walletdb.h File Reference
#include "db.h"
#include "key.h"
#include <list>
#include <stdint.h>
#include <string>
#include <utility>
#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  CKeyMetadata
 
class  CWalletDB
 Access to the wallet database (wallet.dat) More...
 

Enumerations

enum  DBErrors {
  DB_LOAD_OK,
  DB_CORRUPT,
  DB_NONCRITICAL_ERROR,
  DB_TOO_NEW,
  DB_LOAD_FAIL,
  DB_NEED_REWRITE
}
 Error statuses for the wallet database. More...
 

Functions

bool BackupWallet (const CWallet &wallet, const std::string &strDest)
 

Enumeration Type Documentation

enum DBErrors

Error statuses for the wallet database.

Enumerator
DB_LOAD_OK 
DB_CORRUPT 
DB_NONCRITICAL_ERROR 
DB_TOO_NEW 
DB_LOAD_FAIL 
DB_NEED_REWRITE 

Definition at line 29 of file walletdb.h.

Function Documentation

bool BackupWallet ( const CWallet wallet,
const std::string &  strDest 
)

Definition at line 825 of file walletdb.cpp.

References bitdb, CDBEnv::CheckpointLSN(), CDBEnv::CloseDb(), CDBEnv::cs_db, CWallet::fFileBacked, GetDataDir(), LOCK, LogPrintf, CDBEnv::mapFileUseCount, MilliSleep(), and CWallet::strWalletFile.

Referenced by WalletModel::backupWallet(), and backupwallet().

+ Here is the call graph for this function:

+ Here is the caller graph for this function: