A class representing a BerkeleyDB file from which we can only read records. This is used only for migration of legacy to descriptor wallets
Synopsis
Declared in <wallet/migrate.h>
class BerkeleyRODatabase
: public WalletDatabase
Base Classes
Name |
Description |
An instance of this class represents one database. |
Member Functions
Name |
Description |
|
Create DB handle |
|
Destroy 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 the paths to all files that make up this database. |
|
Return the name of this database's storage 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 |
The records read from the database file. |
|
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 |
Return object giving access to Berkeley Read Only database at specified path. |
|
Executes the provided function 'func' within a database transaction context. |
Created with MrDocs