Bitcoin Core  22.99.0
P2P Digital Currency
Namespaces | Functions | Variables
sqlite.cpp File Reference
#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>
Include dependency graph for sqlite.cpp:

Go to the source code of this file.

Namespaces

 wallet
 

Functions

static int g_sqlite_count wallet::GUARDED_BY (g_sqlite_mutex)=0
 
static void wallet::ErrorLogCallback (void *arg, int code, const char *msg)
 
static std::optional< int > wallet::ReadPragmaInteger (sqlite3 *db, const std::string &key, const std::string &description, bilingual_str &error)
 
static void wallet::SetPragma (sqlite3 *db, const std::string &key, const std::string &value, const std::string &err_msg)
 
std::unique_ptr< SQLiteDatabase > wallet::MakeSQLiteDatabase (const fs::path &path, const DatabaseOptions &options, DatabaseStatus &status, bilingual_str &error)
 
std::string wallet::SQLiteDatabaseVersion ()
 

Variables

static constexpr int32_t wallet::WALLET_SCHEMA_VERSION = 0
 
static Mutex wallet::g_sqlite_mutex