PRCYCoin  2.0.0.7rc1
P2P Digital Currency
Classes | Functions
walletdb.cpp File Reference
#include "wallet/walletdb.h"
#include "base58.h"
#include "protocol.h"
#include "serialize.h"
#include "sync.h"
#include "util.h"
#include "utiltime.h"
#include "wallet/wallet.h"
#include <atomic>
#include <boost/scoped_ptr.hpp>
#include <boost/thread.hpp>
#include <fstream>
Include dependency graph for walletdb.cpp:

Go to the source code of this file.

Classes

class  CWalletScanState
 

Functions

bool ReadKeyValue (CWallet *pwallet, CDataStream &ssKey, CDataStream &ssValue, CWalletScanState &wss, std::string &strType, std::string &strErr)
 
void ThreadFlushWalletDB (const std::string &strFile)
 
void NotifyBacked (const CWallet &wallet, bool fSuccess, std::string strMessage)
 
bool BackupWallet (const CWallet &wallet, const fs::path &strDest, bool fEnableCustom)
 
bool AttemptBackupWallet (const CWallet &wallet, const fs::path &pathSrc, const fs::path &pathDest)
 

Function Documentation

◆ AttemptBackupWallet()

bool AttemptBackupWallet ( const CWallet wallet,
const fs::path &  pathSrc,
const fs::path &  pathDest 
)

Definition at line 1149 of file walletdb.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ BackupWallet()

bool BackupWallet ( const CWallet wallet,
const fs::path &  strDest,
bool  fEnableCustom 
)
Todo:
: add seconds to avoid naming conflicts

Definition at line 1045 of file walletdb.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NotifyBacked()

void NotifyBacked ( const CWallet wallet,
bool  fSuccess,
std::string  strMessage 
)

Definition at line 1039 of file walletdb.cpp.

Here is the caller graph for this function:

◆ ReadKeyValue()

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

Definition at line 549 of file walletdb.cpp.

Here is the call graph for this function:

◆ ThreadFlushWalletDB()

void ThreadFlushWalletDB ( const std::string &  strFile)

Definition at line 984 of file walletdb.cpp.

Here is the call graph for this function: