loop/staticaddr
Slyghtning 325545143c
staticaddr/loopin: persist risk decisions
Store the server's static loop-in confirmation-risk decision and the time it
was received. This lets recovered swaps reconstruct whether payment waiting had
already started and how much of the payment timeout remains.

Wire notification handling to persist accepted and rejected decisions before
caching and forwarding them. If the swap row is not present yet, the
notification is still cached so the per-swap waiter can replay and store the
decision later.

Recover accepted decisions by starting the payment deadline from the persisted
decision time, and recover rejected decisions by canceling the invoice and
failing the swap instead of waiting forever.
2026-06-01 10:46:52 +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/loopin: persist risk decisions 2026-06-01 10:46:52 +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