loop/staticaddr
Slyghtning afb7c80a96
staticaddr/loopin: cancel orphan invoice when init fails early
If InitHtlcAction creates the private swap invoice but fails before the loop-in
is stored, the retry path otherwise leaves behind a live orphan invoice.

Cancel that invoice on the early error path with a detached, timeout-limited
context, and reuse the same helper when tearing down the monitor path. This
keeps failed initialization attempts from leaving invoices that no local swap
can complete.
2026-05-22 11:22:42 +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: apply confirmation policy by flow 2026-05-22 11:22:41 +02:00
loopin staticaddr/loopin: cancel orphan invoice when init fails early 2026-05-22 11:22:42 +02:00
openchannel staticaddr: apply confirmation policy by flow 2026-05-22 11:22:41 +02:00
script staticaddr: move address.Parameters to script package 2026-05-01 15:54:37 +05:30
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-05-22 11:22:41 +02:00
log.go staticaddr: open channel manager 2026-02-26 20:57:26 +01:00