loop/staticaddr
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
..
address Merge pull request #1133 from 0xfandom/refactor/1056-move-parameters-to-script 2026-05-20 22:02:57 +02:00
deposit staticaddr: cancel loop-ins when deposit inputs vanish 2026-06-01 10:46:51 +02:00
loopin staticaddr: cancel loop-ins when deposit inputs vanish 2026-06-01 10:46:51 +02:00
openchannel staticaddr: apply confirmation policy by flow 2026-06-01 10:46:50 +02:00
script staticaddr: fix timeout comment typo 2026-05-27 11:49:49 +02:00
staticutil staticaddr: move address.Parameters to script package 2026-05-01 15:54:37 +05:30
version multi: do not rename swapserverrpc to looprpc 2024-09-10 09:54:17 -03:00
withdraw staticaddr: apply confirmation policy by flow 2026-06-01 10:46:50 +02:00
log.go staticaddr: open channel manager 2026-02-26 20:57:26 +01:00