loop/loopdb/sqlc
Slyghtning 502d298643
staticaddr: track unconfirmed deposits
Surface static-address deposits as soon as they appear in the wallet instead
of waiting for the old six-confirmation readiness threshold.

Reconcile the wallet view on startup, on each block, and on the polling ticker
so mempool deposits are created immediately. Backfill the first confirmation
height once those outputs confirm, protect unconfirmed deposits from expiry,
and mark vanished unconfirmed outpoints as Replaced so RBFed-away deposits stop
showing up in RPCs.

Expose the new state through static-address RPCs by deriving availability and
summary totals from stored deposit state, reporting sensible expiry data for
unconfirmed outputs, and hiding Replaced records from normal listings.
2026-05-22 11:22:41 +02:00
..
migrations staticaddr: track unconfirmed deposits 2026-05-22 11:22:41 +02:00
queries loopdb: staticaddr fast flag migration and queries 2025-10-07 08:53:36 +02:00
batch.sql.go loopdb: remove unused method ConfirmBatch 2025-06-26 14:01:16 -03:00
db.go loopdb: bump sqlc to 1.25.0 2024-03-20 13:57:11 +01:00
instantout.sql.go sqlc: remove trailing spaces in queries 2024-05-31 12:28:02 -03:00
liquidity_params.sql.go loopdb: bump sqlc to 1.25.0 2024-03-20 13:57:11 +01:00
migration_tracker.sql.go loopdb: add ability to track manual migrations 2024-06-03 14:54:18 +02:00
models.go loopdb: staticaddr fast flag migration and queries 2025-10-07 08:53:36 +02:00
querier.go staticaddr: selected swap amount migration 2025-09-25 11:13:35 +02:00
reservations.sql.go reservation: add protocol version 2025-04-30 14:23:47 +02:00
static_address_deposits.sql.go staticaddr: migrate swap hashes to deposits 2025-08-01 11:26:32 +02:00
static_address_loopin.sql.go loopdb: staticaddr fast flag migration and queries 2025-10-07 08:53:36 +02:00
static_address_withdrawals.sql.go loopdb: withdrawal table and queries 2025-06-03 12:57:10 +02:00
static_addresses.sql.go staticaddr: add initiation height of address 2024-12-12 18:31:10 +01:00
swaps.sql.go loopdb: add asset params to store 2025-01-21 18:26:20 +01:00