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
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
staticutil
version
withdraw staticaddr: apply confirmation policy by flow 2026-06-01 10:46:50 +02:00
log.go