Module sqlite

Source
Expand description

SQLite persistence backend for Bark.

This module provides a concrete implementation of the BarkPersister trait backed by a local SQLite database. It encapsulates schema creation and migrations, typed query helpers, and conversions between in-memory models and their stored representations. Operations are performed using explicit connections and transactions to ensure atomic updates across related tables, covering wallet properties, movements, vtxos and their states, round lifecycle data, Lightning receives, exit tracking, and sync metadata.

Modules§

helpers

Structs§

SqliteClient
An implementation of the BarkPersister using rusqlite. Changes are persisted using the given PathBuf.