breez / lspd

MIT License
28 stars 18 forks source link

Add notifications for htlc expiry #163

Open JssDWt opened 10 months ago

JssDWt commented 10 months ago

Whenever a htlc is about to expire, and the client is subscribed to notifications, notify the webhook with a htlc expiry notification.

roeierez commented 10 months ago

I do see a pending PR in greenlight for web hooks I think the intention in this PR is to notify before force close exactly for this use case

JssDWt commented 10 months ago

I do see a pending PR in greenlight for web hooks I think the intention in this PR is to notify before force close exactly for this use case

Ah good point

JssDWt commented 10 months ago

Closing this for now, because greenlight webhooks are suitable for most usecases.

kingonly commented 10 months ago

Let's keep it open with a reference to the GL PR

JssDWt commented 10 months ago

There is this PR for webhook support, but it looks like it's not aimed at specific usecases yet: https://github.com/Blockstream/greenlight/pull/334