![]() |
Master Core
v0.0.9 - 2abfd2849db8ba7a83957c64eb976b406713c123
|
#include "db.h"
#include "key.h"
#include <list>
#include <stdint.h>
#include <string>
#include <utility>
#include <vector>
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) |
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.
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().