An instance of this class represents one database.
Synopsis
Declared in <wallet/db.h>
class WalletDatabase;
Member Functions
Name |
Description |
|
Create dummy DB handle |
|
Destroys the database handle. |
|
Back up the entire database to a file. |
|
Flush to the database file and close the database. Also close the environment if no other databases are open in it. |
|
Return path to main database file for logs and error messages. |
|
Return paths to all database created files |
|
Returns the name of the database format. |
|
Make a DatabaseBatch connected to this database |
|
Open the database if it is not already opened. |
|
Rewrite the entire database on disk |
Data Members
Name |
Description |
Counts the number of active database users to be sure that the database is not closed while someone is using it |
Non-Member Functions
Name |
Description |
Creates or opens a wallet database at the given path. |
|
Create a new in‐memory wallet database. |
|
Open the database backend for a wallet. |
|
Executes the provided function 'func' within a database transaction context. |
Derived Classes
Name |
Description |
A class representing a BerkeleyDB file from which we can only read records. This is used only for migration of legacy to descriptor wallets |
|
An instance of this class represents one SQLite3 database. |
Created with MrDocs