loop/staticaddr
Slyghtning 44a6c7a144 staticaddr/loopin: cancel orphan invoice on init failure
A static address loop-in that creates an invoice but then fails before storage cannot be recovered after restart, and persisted error paths that unlock deposits should not leave the swap invoice live either. The payment-deadline path also needs to report the real deposit unlock error instead of checking the FSM event returned by UnlockDepositsAction, because that action returns OnError on both success and failure.

Cancel private swap invoices on pre-storage init failures, monitor timeouts, and stored unlock paths using a detached timeout-limited helper. Factor deposit unlocking into an error-returning helper so deadline handling can log transition failures, and add coverage for early-init cancellation plus generic unlock invoice cleanup and error propagation.
2026-06-22 10:18:07 +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: move address.Parameters to script package 2026-05-01 15:54:37 +05:30
loopin staticaddr/loopin: cancel orphan invoice on init failure 2026-06-22 10:18:07 +02:00
openchannel lint: fix linter issues 2026-03-09 14:39:45 +01: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: reject malformed MuSig2 signing data 2026-05-29 11:53:32 +02:00
log.go staticaddr: open channel manager 2026-02-26 20:57:26 +01:00