An in‐memory SQLiteDatabase. Used as a temporary build artifact where no on‐disk persistence is needed.
Synopsis
Declared in <wallet/sqlite.h>
class InMemoryWalletDatabase
: public SQLiteDatabase
Base Classes
Name |
Description |
An instance of this class represents one SQLite3 database. |
Member Functions
Name |
Description |
|
Construct an in‐memory database. |
Back up the entire database to a file. |
|
|
Close the database |
|
Return the name of the database file. |
|
Return the paths to this database's files; empty since it lives in memory. |
|
Return the name of this database's storage format. |
Return true if there is an on‐going txn in this connection |
|
|
Make a SQLiteBatch connected to this database |
|
Open the database if it is not already opened |
|
Rewrite the entire database on disk |
Check the integrity of the database. |
Data Members
Name |
Description |
The underlying SQLite database connection. |
|
Counts the number of active database users to be sure that the database is not closed while someone is using it |
|
Whether to use unsafe synchronous settings for faster, less durable writes. |
|
Semaphore ensuring only one batch writes to the database at a time. |
Non-Member Functions
Name |
Description |
Executes the provided function 'func' within a database transaction context. |
Created with MrDocs