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.
- Locked
- Missing
State Error - Pending
Board - Persisted representation of a pending board.
- Pending
Offboard - Persisted representation of a pending offboard.
- Round
State Id - Identifier for a stored RoundState.
- Serde
Exit Child Tx - Exit child transaction for persistence.
- Serde
Round State - Model for RoundState
- Serde
Vtxo - VTXO with state history for persistence.
- Serde
Vtxo Key - VTXO key mapping for persistence.
- Stored
Exit - Persistable view of an ExitVtxo.
- Stored
Round State - Unlocked