![]() |
Bitcoin Core
0.21.1
P2P Digital Currency
|
#include <wallet/sqlite.h>#include <chainparams.h>#include <crypto/common.h>#include <logging.h>#include <sync.h>#include <util/memory.h>#include <util/strencodings.h>#include <util/system.h>#include <util/translation.h>#include <wallet/db.h>#include <sqlite3.h>#include <stdint.h>Go to the source code of this file.
Functions | |
| static int g_sqlite_count | GUARDED_BY (g_sqlite_mutex)=0 |
| static void | ErrorLogCallback (void *arg, int code, const char *msg) |
| bool | ExistsSQLiteDatabase (const fs::path &path) |
| std::unique_ptr< SQLiteDatabase > | MakeSQLiteDatabase (const fs::path &path, const DatabaseOptions &options, DatabaseStatus &status, bilingual_str &error) |
| std::string | SQLiteDatabaseVersion () |
| bool | IsSQLiteFile (const fs::path &path) |
Variables | |
| static const char *const | DATABASE_FILENAME = "wallet.dat" |
| static constexpr int32_t | WALLET_SCHEMA_VERSION = 0 |
| static Mutex | g_sqlite_mutex |
|
static |
Definition at line 26 of file sqlite.cpp.
| bool ExistsSQLiteDatabase | ( | const fs::path & | path | ) |
|
staticpure virtual |
| bool IsSQLiteFile | ( | const fs::path & | path | ) |
Definition at line 598 of file sqlite.cpp.
| std::unique_ptr<SQLiteDatabase> MakeSQLiteDatabase | ( | const fs::path & | path, |
| const DatabaseOptions & | options, | ||
| DatabaseStatus & | status, | ||
| bilingual_str & | error | ||
| ) |
Definition at line 575 of file sqlite.cpp.
| std::string SQLiteDatabaseVersion | ( | ) |
|
static |
Definition at line 20 of file sqlite.cpp.
|
static |
Definition at line 23 of file sqlite.cpp.
|
static |
Definition at line 21 of file sqlite.cpp.
1.8.8