Bitcoin Core  0.20.99
P2P Digital Currency
Classes | Functions
db.h File Reference
#include <clientversion.h>
#include <fs.h>
#include <streams.h>
#include <util/memory.h>
#include <atomic>
#include <memory>
#include <string>
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  DatabaseBatch
 RAII class that provides access to a WalletDatabase. More...
 
class  WalletDatabase
 An instance of this class represents one database. More...
 
class  DummyBatch
 RAII class that provides access to a DummyDatabase. More...
 
class  DummyDatabase
 A dummy WalletDatabase that does nothing and never fails. More...
 

Functions

fs::path WalletDataFilePath (const fs::path &wallet_path)
 Given a wallet directory path or legacy file path, return path to main data file in the wallet database. More...
 
void SplitWalletPath (const fs::path &wallet_path, fs::path &env_directory, std::string &database_filename)
 

Function Documentation

◆ SplitWalletPath()

void SplitWalletPath ( const fs::path &  wallet_path,
fs::path &  env_directory,
std::string &  database_filename 
)

Definition at line 11 of file db.cpp.

Here is the caller graph for this function:

◆ WalletDataFilePath()

fs::path WalletDataFilePath ( const fs::path &  wallet_path)

Given a wallet directory path or legacy file path, return path to main data file in the wallet database.

Definition at line 27 of file db.cpp.

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