Bitcoin Core 28.99.0
P2P Digital Currency
Namespaces | Functions | Variables
sqlite.cpp File Reference
#include <bitcoin-build-config.h>
#include <wallet/sqlite.h>
#include <chainparams.h>
#include <crypto/common.h>
#include <logging.h>
#include <sync.h>
#include <util/fs_helpers.h>
#include <util/check.h>
#include <util/strencodings.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

namespace  wallet
 

Functions

static Span< const std::byte > wallet::SpanFromBlob (sqlite3_stmt *stmt, int col)
 
static void wallet::ErrorLogCallback (void *arg, int code, const char *msg)
 
static int wallet::TraceSqlCallback (unsigned code, void *context, void *param1, void *param2)
 
static bool wallet::BindBlobToStatement (sqlite3_stmt *stmt, int index, Span< const std::byte > blob, const std::string &description)
 
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