Commit fc4bf8a
committed
Add LSPS5 webhook client implementation
Implements the client-side functionality for LSPS5 webhook registration,
allowing Lightning clients to register, list, and remove webhooks with LSPs.
This client handler processes responses and verifies webhook notification signatures.
Key features:
- Full client API for webhook registration operations
- Per-peer state tracking for pending requests
- Automatic request timeout and cleanup
- Security validation for webhook URLs
- Notification signature verification
- Add store_signature and check_signature to prevent replay attacks
- Some tests are provided but more will come in a future commit
This implementation pairs with the service-side LSPS5 webhook
handler to complete the webhook registration protocol according
to the LSPS5 specification.1 parent 2b385b2 commit fc4bf8a
1 file changed
+786
-0
lines changed
0 commit comments