alby-hub/service
daywalker90 28706ecf31
feat: add CLN backend (#2026)
* feat: add CLN as a lnclient backend

* feat: add hold invoice support for CLN backend

* fix: reduce CLN form to just addresses and lightning dir

* feat: add README for CLN grpc go code generation

* fix: cln backend does not support keysend with given preimages

* fix: hold invoice notifications in CLN backend

* fix: remove dead code in CLN backend from ListTransactions

* fix: env example CLN_ADDRESS_HOLD with different port to show it's a different service

* fix: cleanup of CLN ressources in all cases

* fix: cln backend's GetNetworkGraph only fetches specified nodeId's

* fix: cln backend: only advertise hold methods for nip47 if hold plugin enabled

* fix: cln's Shutdown should not stop CLN itself

* fix: relax the LND README line regarding env configuration

* fix: more nil checks in clnInvoiceToTransaction

* fix: prevent feerate overflow in CLN's RedeemOnchainFunds

* fix: don't access nil errors for empty reponses of certain CLN methods

* fix: nil instead of empty string in cln's GetNetworkGraph return types

* fix: nil checks for created_at in cln's clnInvoiceToTransaction

* fix: set minimum tls version to 1.2 for cln backend grpc connections

* fix: cln's subscribeOpenHoldInvoices doesn't give up as fast

* fix: deduplicate graph edges in cln's GetNetworkGraph

* fix: print the error string, not pointer address, in cln's ListChannels

* fix: remove cln's ListTransactions completely

* fix: use ListPeers instead of ListPeerChannels in cln's ListPeers

* feat: cln's MakeHoldInvoice supports minCltvExpiryDelta

* fix: use named return err in NewCLNService

* fix: cln listpeers log message

* fix: incorrect import

* fix: compile errors after rename

---------

Co-authored-by: Roland Bewick <roland.bewick@gmail.com>
2026-05-03 12:36:13 -07:00
..
keys Swaps improvements (shifting to standalone page + one-time swaps) (#1371) 2025-07-10 20:06:12 +07:00
create_app_consumer.go feat: user labels for transactions (#2265) 2026-04-30 13:13:07 +02:00
delete_app_consumer.go feat: support multiple relays (#1802) 2025-11-06 18:01:09 +07:00
models.go feat: support multiple relays (#1802) 2025-11-06 18:01:09 +07:00
payment_forwarded_consumer.go feat: track forwards to display on a home page widget (#1623) 2025-08-21 16:39:03 +05:30
profiler.go chore: remove datadog profiling (#1406) 2025-07-29 16:20:29 +05:30
service.go fix: fetch currencies through alby backend api (#2212) 2026-04-09 23:03:26 +05:30
start.go feat: add CLN backend (#2026) 2026-05-03 12:36:13 -07:00
stop.go fix: prevent LN client access during shutdown (#2096) 2026-02-27 15:45:09 +07:00
update_app_consumer.go feat: support multiple relays (#1802) 2025-11-06 18:01:09 +07:00