loop/staticaddr/loopin
Slyghtning f982ceb753 staticaddr/loopin: include failed swaps in state queries
The final-state query previously formatted the state list with braces, which broke the comma-delimited match for both boundary entries: the first state was compared with a leading brace and the last state with a trailing brace. Final-state callers need swaps at both ends of the list, including HtlcTimeoutSwept and Failed, to remain visible once they reach a terminal status.

Return the final-state list as plain comma-separated state names, update the store comment to match the query format, and extend the store test so it inserts and retrieves swaps in the first final state, a middle final state, and the last final state without relying on result order.
2026-06-22 10:18:07 +02:00
..
actions.go staticaddr/loopin: cancel orphan invoice on init failure 2026-06-22 10:18:07 +02:00
actions_test.go staticaddr/loopin: cancel orphan invoice on init failure 2026-06-22 10:18:07 +02:00
autoloop.go staticaddr: use dp autoloop selector 2026-05-22 02:20:36 -05:00
autoloop_dp.go staticaddr: use dp autoloop selector 2026-05-22 02:20:36 -05:00
autoloop_dp_test.go staticaddr: use dp autoloop selector 2026-05-22 02:20:36 -05:00
autoloop_test.go staticaddr: use dp autoloop selector 2026-05-22 02:20:36 -05:00
deduce_amount_test.go staticaddr: arbitrary loop-in amount 2025-09-25 11:13:34 +02:00
deposit_swaphash_migration.go staticaddr: migrate swap hashes to deposits 2025-08-01 11:26:32 +02:00
deposit_swaphash_migration_test.go staticaddr: selected swap amount migration 2025-09-25 11:13:35 +02:00
fsm.go lint: fix linter issues 2026-03-09 14:39:45 +01:00
interface.go staticaddr: move address.Parameters to script package 2026-05-01 15:54:37 +05:30
log.go multi: update lnd compile-time dependency to v0.19.0 2025-03-10 22:59:49 +01:00
loopin.go liquidity: count static loop-ins 2026-05-22 02:20:36 -05:00
loopin_test.go staticaddr: move address.Parameters to script package 2026-05-01 15:54:37 +05:30
manager.go staticaddr: reject malformed MuSig2 signing data 2026-05-29 11:53:32 +02:00
manager_test.go staticaddr: reject malformed MuSig2 signing data 2026-05-29 11:53:32 +02:00
selected_amount_migration.go staticaddr: selected swap amount migration 2025-09-25 11:13:35 +02:00
selected_amount_migration_test.go staticaddr: selected swap amount migration 2025-09-25 11:13:35 +02:00
sql_store.go staticaddr/loopin: include failed swaps in state queries 2026-06-22 10:18:07 +02:00
sql_store_test.go staticaddr/loopin: include failed swaps in state queries 2026-06-22 10:18:07 +02:00