Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

db.cpp File Reference
#include <wallet/db.h>
#include <addrman.h>
#include <hash.h>
#include <protocol.h>
#include <util.h>
#include <utilstrencodings.h>
#include <wallet/walletutil.h>
#include <stdint.h>
#include <sys/stat.h>
#include <boost/thread.hpp>
+ Include dependency graph for db.cpp:

Go to the source code of this file.

Functions

BerkeleyEnvironmentGetWalletEnv (const fs::path &wallet_path, std::string &database_filename)
 Get BerkeleyEnvironment and database filename given a wallet path. More...
 

Variables

static const char * HEADER_END = "HEADER=END"
 
static const char * DATA_END = "DATA=END"
 

Function Documentation

◆ GetWalletEnv()

BerkeleyEnvironment* GetWalletEnv ( const fs::path &  wallet_path,
std::string &  database_filename 
)

Variable Documentation

◆ DATA_END

const char* DATA_END = "DATA=END"
static

Definition at line 371 of file db.cpp.

Referenced by BerkeleyEnvironment::Salvage().

◆ HEADER_END

const char* HEADER_END = "HEADER=END"
static

Definition at line 369 of file db.cpp.

Referenced by BerkeleyEnvironment::Salvage().

Released under the MIT license