aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/sqlite.h
Commit message (Collapse)AuthorAgeFilesLines
* rpc, wallet: Expose database format in getwalletinfoJoão Barbosa2020-10-141-0/+1
|
* Determine wallet file type based on file magicAndrew Chow2020-10-141-0/+1
|
* Implement SQLiteDatabase::VerifyAndrew Chow2020-10-141-0/+2
|
* Implement SQLiteBatch::StartCursor, ReadAtCursor, and CloseCursorAndrew Chow2020-10-141-0/+2
|
* Add SetupSQLStatementsAndrew Chow2020-10-141-0/+8
|
* Initialize and Shutdown sqlite3 globalsAndrew Chow2020-10-141-0/+2
| | | | | | | | | sqlite3 recommends that sqlite3_initialize be called when the application starts, and sqlite3_shutdown when it stops. Since we don't always use sqlite3, we initialize it when a SQLiteDatabse is constructed (calling sqlite3_initialize after initialized is a no-op). We call sqlite3_shutdown when we see that there are no databases opened. The number of open databases is tracked by an atomic g_dbs_open.
* Constructors, destructors, and relevant private fields for SQLiteDatabase/BatchAndrew Chow2020-10-141-0/+5
|
* Implement SQLiteDatabaseVersionAndrew Chow2020-10-141-0/+2
|
* Add SQLiteDatabase and SQLiteBatch dummy classesAndrew Chow2020-10-141-0/+99