Master Core  v0.0.9 - 2abfd2849db8ba7a83957c64eb976b406713c123
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Functions | Variables
db.h File Reference
#include "serialize.h"
#include "sync.h"
#include "version.h"
#include <map>
#include <string>
#include <vector>
#include <boost/filesystem/path.hpp>
#include <db_cxx.h>
+ Include dependency graph for db.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CDBEnv
 
class  CDB
 RAII class that provides access to a Berkeley database. More...
 

Functions

void ThreadFlushWalletDB (const std::string &strWalletFile)
 

Variables

unsigned int nWalletDBUpdated
 
CDBEnv bitdb
 

Function Documentation

void ThreadFlushWalletDB ( const std::string &  strWalletFile)

Definition at line 763 of file walletdb.cpp.

References bitdb, CDBEnv::CheckpointLSN(), CDBEnv::CloseDb(), CDBEnv::cs_db, GetBoolArg(), GetTime(), GetTimeMillis(), LogPrint(), CDBEnv::mapFileUseCount, MilliSleep(), nWalletDBUpdated, RenameThread(), and TRY_LOCK.

Referenced by AppInit2().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

CDBEnv bitdb

Definition at line 35 of file db.cpp.

Referenced by AppInit2(), BackupWallet(), Shutdown(), and ThreadFlushWalletDB().

unsigned int nWalletDBUpdated