loop/notifications
Slyghtning aa77682e07
staticaddr/loopin: wait for risk acceptance notification
Wait for the server's static loop-in risk-accepted notification before starting
the client payment deadline. The server may intentionally hold the swap at the
confirmation-risk gate after HTLC signing, and the client deadline should not
run while that server-side wait is still in progress.

Cache risk-accepted notifications by swap hash inside the local notification
manager and replay them to the per-swap subscriber. This covers both reconnects
and the internal race where the global notification stream receives the server
event before the static loop-in FSM registers its waiter.
2026-05-22 11:22:43 +02:00
..
log.go multi: update lnd compile-time dependency to v0.19.0 2025-03-10 22:59:49 +01:00
manager.go staticaddr/loopin: wait for risk acceptance notification 2026-05-22 11:22:43 +02:00
manager_test.go staticaddr/loopin: wait for risk acceptance notification 2026-05-22 11:22:43 +02:00