| 27 | static constexpr int32_t WALLET_SCHEMA_VERSION = 0; |
| 28 | |
| 29 | static std::span<const std::byte> SpanFromBlob(sqlite3_stmt* stmt, int col) |
| 30 | { |
| 31 | return {reinterpret_cast<const std::byte*>(sqlite3_column_blob(stmt, col)), |
| 32 | static_cast<size_t>(sqlite3_column_bytes(stmt, col))}; |
| 33 | } |
| 34 | |
| 35 | static void ErrorLogCallback(void* arg, int code, const char* msg) |
| 36 | { |