loop/loopdb
Slyghtning 3df71f9a19
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-06-01 10:45:58 +02:00
..
sqlc staticaddr: track unconfirmed deposits 2026-06-01 10:45:58 +02:00
codec.go loopdb: add the local pubkey's keylocator to the persisted contract 2022-06-30 16:59:57 +02:00
codec_test.go lint: fix linter issues 2026-03-09 14:39:45 +01:00
interface.go loopdb: add asset params to store 2025-01-21 18:26:20 +01:00
log.go multi: update lnd compile-time dependency to v0.19.0 2025-03-10 22:59:49 +01:00
loop.go loopdb: refactor the SwapContract to hold all HTLC keys 2023-03-20 20:08:43 +01:00
loopin.go godoc: address copy-paste errors accross the codebase 2026-03-09 14:39:44 +01:00
loopout.go loopout: add asset loop out payment flow 2025-01-21 18:26:19 +01:00
meta.go godoc: address copy-paste errors accross the codebase 2026-03-09 14:39:44 +01:00
migrate.go lint: fix linter issues 2026-03-09 14:39:45 +01:00
migrate_test.go loopdb: add migrator 2023-06-20 18:59:31 +02:00
migration_01_costs.go loopdb: switch to go.etcd.io/bbolt 2025-03-19 15:00:30 +01:00
migration_02_swap_publication_deadline.go loopdb: switch to go.etcd.io/bbolt 2025-03-19 15:00:30 +01:00
migration_03_last_hop.go loopdb: switch to go.etcd.io/bbolt 2025-03-19 15:00:30 +01:00
migration_04_updates.go loopdb: switch to go.etcd.io/bbolt 2025-03-19 15:00:30 +01:00
migration_04_updates_test.go lint: fix linter issues 2026-03-09 14:39:45 +01:00
migrations.go multi: update linter, fix issues 2023-10-03 19:36:40 +02:00
postgres.go loopdb: clean up comments 2026-05-27 11:50:30 +02:00
postgres_fixture.go loopdb: add postgres store 2023-06-20 18:59:30 +02:00
protocol_version.go loopdb: clean up comments 2026-05-27 11:50:30 +02:00
protocol_version_test.go linter: fix lint issues after linter v2 update 2025-08-19 21:57:00 +02:00
raw_db_test.go lint: fix linter issues 2026-03-09 14:39:45 +01:00
schemas.go loopdb: create base sqlite store 2023-06-20 17:31:40 +02:00
sql_store.go lint: fix linter issues 2026-03-09 14:39:45 +01:00
sql_test.go lint: fix linter issues 2026-03-09 14:39:45 +01:00
sqlerrors.go chore: fix some function names 2024-08-12 22:59:32 +08:00
sqlite.go linter: fix lint issues after linter v2 update 2025-08-19 21:57:00 +02:00
store.go godoc: address copy-paste errors accross the codebase 2026-03-09 14:39:44 +01:00
store_mock.go godoc: address copy-paste errors accross the codebase 2026-03-09 14:39:44 +01:00
store_test.go lint: fix linter issues 2026-03-09 14:39:45 +01:00
swapstate.go godoc: address copy-paste errors accross the codebase 2026-03-09 14:39:44 +01:00
test_postgres.go loopdb: fix faulty timestamps on startup 2023-08-07 21:04:30 +02:00
test_sqlite.go lint: fix linter issues 2026-03-09 14:39:45 +01:00
typed_store.go multi: typed callback in ExecTx 2024-06-19 10:38:55 -03:00