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 should enable support for connecting with a BTCPay Server node. Since they just use port 443 and https for connections, there is no TLS cert for connecting to the node. Just the macaroon and the socket.
Being able to connect to BTCPay Server nodes adds a lot more flexibility of what node people can use for chianpoint, especially since these are nodes that can be run relatively cheaply and can be setup with very little coding experience.
Yep, that's a possibility. Also just making TLS optional could do it too. I guess it depends on what use cases you want to allow vs. ones you want to block. It's possible to have a lightning node with no TLS and not behind https for example. From what I could gather from clients like Zap, when connecting to a BTCPay Server, it just ignores the TLS when setting the grpc client. This is what I added to boltwall too (in order to support btcpay)
I think we might want to avoid the specific case of no TLS and no https, but I don't see a problem with supporting any other case. I think in general we should encourage encrypted connections if the connection is nonlocal.
This should enable support for connecting with a BTCPay Server node. Since they just use port
443
and https for connections, there is no TLS cert for connecting to the node. Just the macaroon and the socket.Being able to connect to BTCPay Server nodes adds a lot more flexibility of what node people can use for chianpoint, especially since these are nodes that can be run relatively cheaply and can be setup with very little coding experience.
I imagine it would be a pretty simple change to this line:
https://github.com/Tierion/lnrpc-node-client/blob/master/src/index.js#L43
If these seems reasonable, I can put together a PR for this change.
The text was updated successfully, but these errors were encountered: