![]() |
Dash Core
0.12.2.1
P2P Digital Currency
|
#include "wallet/walletdb.h"
#include "base58.h"
#include "consensus/validation.h"
#include "validation.h"
#include "protocol.h"
#include "serialize.h"
#include "sync.h"
#include "util.h"
#include "utiltime.h"
#include "wallet/wallet.h"
#include <boost/filesystem.hpp>
#include <boost/foreach.hpp>
#include <boost/scoped_ptr.hpp>
#include <boost/thread.hpp>
Go to the source code of this file.
Classes | |
class | CWalletScanState |
Functions | |
bool | ReadKeyValue (CWallet *pwallet, CDataStream &ssKey, CDataStream &ssValue, CWalletScanState &wss, string &strType, string &strErr) |
static bool | IsKeyType (string strType) |
void | ThreadFlushWalletDB (const string &strFile) |
bool | BackupWallet (const CWallet &wallet, const string &strDest) |
bool | AutoBackupWallet (CWallet *wallet, std::string strWalletFile, std::string &strBackupWarning, std::string &strBackupError) |
Variables | |
static uint64_t | nAccountingEntryNumber = 0 |
bool AutoBackupWallet | ( | CWallet * | wallet, |
std::string | strWalletFile, | ||
std::string & | strBackupWarning, | ||
std::string & | strBackupError | ||
) |
Definition at line 946 of file walletdb.cpp.
Referenced by AppInit2(), CPrivateSendClient::CheckAutomaticBackup(), and OverviewPage::privateSendStatus().
bool BackupWallet | ( | const CWallet & | wallet, |
const string & | strDest | ||
) |
Definition at line 904 of file walletdb.cpp.
Referenced by AutoBackupWallet(), WalletModel::backupWallet(), and backupwallet().
|
static |
Definition at line 641 of file walletdb.cpp.
Referenced by CWalletDB::LoadWallet(), and CWalletDB::Recover().
bool ReadKeyValue | ( | CWallet * | pwallet, |
CDataStream & | ssKey, | ||
CDataStream & | ssValue, | ||
CWalletScanState & | wss, | ||
string & | strType, | ||
string & | strErr | ||
) |
Definition at line 350 of file walletdb.cpp.
Referenced by CWalletDB::LoadWallet(), and CWalletDB::Recover().
void ThreadFlushWalletDB | ( | const string & | strFile | ) |
Definition at line 842 of file walletdb.cpp.
Referenced by AppInit2().
|
static |
Definition at line 26 of file walletdb.cpp.
Referenced by ReadKeyValue(), and CWalletDB::WriteAccountingEntry_Backend().