Expand description
Persistence-focused data models.
This module defines serializable types that mirror core in-memory structures but are tailored for durable storage and retrieval via a BarkPersister implementation.
Intent
- Keep storage concerns decoupled from runtime types used by protocol logic.
- Provide stable, serde-friendly representations for database backends.
- Enable forward/backward compatibility when schema migrations occur.
Structsยง
- Lightning
Receive - Persisted representation of an incoming Lightning payment.
- Lightning
Send - Persisted representation of a lightning send.
- Pending
Board - Persisted representation of a pending board.
- Serde
Round State - Model for RoundState
- Serde
Unconfirmed Round - Model for UnconfirmedRound
- Stored
Exit - Persistable view of an ExitVtxo.