BoltzExchange / boltz-backend

Boltz Backend
https://boltz.exchange
GNU Affero General Public License v3.0
108 stars 41 forks source link

Webhooks: filter status updates #624

Closed dangeross closed 1 month ago

dangeross commented 1 month ago

It could be advantageous to optionally filter which swap update statuses a webhook wishes to receive (either by include or exclude list, can be discussed)

For example, if a webhook service is serving push notifications to mobile devices, we only really want to send the essential swap statuses to the device (statuses that trigger a claim or refund after verification). Ideally this is to prevent notification spam, as each OS forces an application to show notification content for each push message received and processed.

kilrau commented 1 month ago

I'd vouch for an include list