You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Highlights
CLN improvements: migrated payments to xpay, route probing to askrene/GetRoutes, and added subscription-based channel open/close events
Cross-implementation fixes: moveFunds and rebalances between CLN ↔ LND now work correctly (fixed correct CLTV expiry and payment_secret for the payment)
Structured logging: HTTP request logs now ship as JSON with configurable format and status-based log levels
What's Changed
CLN
Migrate CLN payments from pay to xpay
Migrate CLN route probing from getroute to askrene / GetRoutes
CLN channel open and close events driven by channel state changes
Subscribe to CLN channel open notifications
Fix CLN rebalancing and moveFunds: correct CLTV expiry and payment_secret handling
Resolve long-standing PaymentSecret/PaymentAddress/Preimage terminology across protos, gRPC structs, DB schema, and TypeScript types
Involves changes in Torq API gRPC proto file
Get payment hash from preimage in CLN xpay; handle "already paid" failures; map status 203 to FailureReasonIncorrectPaymentDetails
Use crypto/rand for preimage generation (full 256-bit entropy)
Logging & observability
Standardize Gin request logs to structured JSON, with configurable format and status-based log levels
Use JSON logging for the LSP server; refactor Gin middleware initialization
Dereference *string pointers in BoltFailureCode / LndFailureDetail log messages so values appear instead of addresses
Bug fixes
Boolean filter on payments page now refetches correctly
New payment modal broken under Vite 8
Workflow log channel filter displayed correctly
Store NULL (not zero) settle date for unsettled invoices
Filter correctly by is_rebalance in the payments table summary
Empty values written for empty fields on CLN channel updates
UI
Data reloads on page changes (Default RTK Query refetchOnMountOrArgChange: true)
Refactoring & dev experience
Remove deprecated code
LND unit tests and node-communication error refactor
Tighten CLN/LND channel event handling and add parseChannelState test
Improvements to the SL CLI tool; remove dev warnet and restore SL dev env
Dockerfile fixes, small refactors and renames
Dependencies
Package updates including React Router 7 → 8, gRPC, and CLN/LND proto updates