breez / lspd

MIT License
28 stars 18 forks source link

Notifications for channel closes/splices #182

Open JssDWt opened 7 months ago

JssDWt commented 7 months ago

Give lspd the option to send a webhook notification in order to wake up the peer for channel management, like closing a channel or splicing out liquidity.

The main question is how to shape this functionality.

The time sensitive nature of the mobile notification probably requires lspd to be in charge of handling the channel close/splice.

kingonly commented 7 months ago

I think exposing an API to close using notifications (instead of force closing rn) would be the first building block. Then automation/heuristics can be added, but need more feedback from LSPs.