Modular Bitcoin full-node microservices API server architecture and utilities toolkit to build scalable, secure and featureful apps and services without trusted third parties
MIT License
364
stars
68
forks
source link
Use Core Lightning with TCP instead of Unix socket file #303
Currently, Cyphernode uses lightning-cli which needs to be local to the Unix socket file created by Core Lightning for its RPC. Unfortunately, this restriction forces CLN clients and CLN server to be on the same machine.
Let's set EXPOSE_TCP and use netcat (or the like) to access CLN remotely (instead of using lightning-cli) so that lightning deployment can be remote to the proxy and more distributed.
Currently, Cyphernode uses
lightning-cli
which needs to be local to the Unix socket file created by Core Lightning for its RPC. Unfortunately, this restriction forces CLN clients and CLN server to be on the same machine.Let's set
EXPOSE_TCP
and use netcat (or the like) to access CLN remotely (instead of usinglightning-cli
) so that lightning deployment can be remote to the proxy and more distributed.