#include <wallet/sqlite.h>
#include <chainparams.h>
#include <crypto/common.h>
#include <logging.h>
#include <sync.h>
#include <util/strencodings.h>
#include <util/system.h>
#include <util/translation.h>
#include <wallet/db.h>
#include <sqlite3.h>
#include <stdint.h>
#include <optional>
#include <utility>
#include <vector>
Go to the source code of this file.
|
static int g_sqlite_count | GUARDED_BY (g_sqlite_mutex)=0 |
|
static void | ErrorLogCallback (void *arg, int code, const char *msg) |
|
static std::optional< int > | ReadPragmaInteger (sqlite3 *db, const std::string &key, const std::string &description, bilingual_str &error) |
|
static void | SetPragma (sqlite3 *db, const std::string &key, const std::string &value, const std::string &err_msg) |
|
std::unique_ptr< SQLiteDatabase > | MakeSQLiteDatabase (const fs::path &path, const DatabaseOptions &options, DatabaseStatus &status, bilingual_str &error) |
|
std::string | SQLiteDatabaseVersion () |
|
◆ ErrorLogCallback()
static void ErrorLogCallback |
( |
void * |
arg, |
|
|
int |
code, |
|
|
const char * |
msg |
|
) |
| |
|
static |
◆ GUARDED_BY()
◆ MakeSQLiteDatabase()
◆ ReadPragmaInteger()
static std::optional< int > ReadPragmaInteger |
( |
sqlite3 * |
db, |
|
|
const std::string & |
key, |
|
|
const std::string & |
description, |
|
|
bilingual_str & |
error |
|
) |
| |
|
static |
◆ SetPragma()
static void SetPragma |
( |
sqlite3 * |
db, |
|
|
const std::string & |
key, |
|
|
const std::string & |
value, |
|
|
const std::string & |
err_msg |
|
) |
| |
|
static |
◆ SQLiteDatabaseVersion()
std::string SQLiteDatabaseVersion |
( |
| ) |
|
◆ g_sqlite_mutex
◆ WALLET_SCHEMA_VERSION
constexpr int32_t WALLET_SCHEMA_VERSION = 0 |
|
staticconstexpr |