loop/staticaddr/deposit
Slyghtning 858066dd0c
staticaddr: cancel loop-ins when deposit inputs vanish
Keep replacement UTXOs as fresh deposits while preserving the original deposit
record and selected outpoint snapshot for pending swaps.

Before signing a static loop-in HTLC, check each original selected outpoint with
GetTxOut(..., includeMempool=true). Cancel the pending invoice only when that
check reports an original outpoint unavailable; lookup errors fail the action
without canceling so transient chain backend errors do not incorrectly abandon
the swap.

Keep recovered loop-ins using their stored outpoint snapshot and cover
replacement discovery and cancellation in tests.
2026-06-01 10:46:51 +02:00
..
actions.go staticaddr/deposit: async finalization cleanup 2026-06-01 10:46:51 +02:00
actions_test.go staticaddr/deposit: async finalization cleanup 2026-06-01 10:46:51 +02:00
deposit.go staticaddr: track unconfirmed deposits 2026-06-01 10:45:58 +02:00
deposit_test.go staticaddr: track unconfirmed deposits 2026-06-01 10:45:58 +02:00
fsm.go staticaddr: track unconfirmed deposits 2026-06-01 10:45:58 +02: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
manager.go staticaddr: cancel loop-ins when deposit inputs vanish 2026-06-01 10:46:51 +02:00
manager_height_test.go staticaddr: track unconfirmed deposits 2026-06-01 10:45:58 +02:00
manager_reconcile_test.go staticaddr: cancel loop-ins when deposit inputs vanish 2026-06-01 10:46:51 +02:00
manager_test.go staticaddr: apply confirmation policy by flow 2026-06-01 10:46:50 +02:00
sql_store.go staticaddr: remove redundant pgx.ErrNoRows checks 2026-03-04 18:33:40 -05:00
sql_store_test.go staticaddr: remove redundant pgx.ErrNoRows checks 2026-03-04 18:33:40 -05:00