Skip to content

Commit ed2f940

Browse files
Add messaging types for webhook operations
- Define LSPS5Request and LSPS5Response enums for webhook registration, listing, and removal. - Implement WebhookNotification and associated helper constructors for different notification types. - Implement serialization/deserialization support with comprehensive tests. - Improve LSPS5 message types, validation, and testing - Replace generic String types with strongly-typed Lsps5AppName and Lsps5WebhookUrl with built-in length and format validation - Restructure imports to follow one-per-line convention - Add constants for notification method strings - Make WebhookNotificationMethod enum more consistent with LSPS5 prefix - Use explicit serde_json::json and serde_json::Value instead of imports - Improve code documentation with proper ticks and references - Add comprehensive test vectors from the BLIP-0055 specification
1 parent 4e65642 commit ed2f940

File tree

1 file changed

+733
-0
lines changed
  • lightning-liquidity/src/lsps5

1 file changed

+733
-0
lines changed

0 commit comments

Comments
 (0)