#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>
Go to the source code of this file.
|
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 () |
|