CLN 0.12.1
I’ve bitcoin core operating on one machine (Debian 11) and would love arrange CLN (C-Lightning) on one other machine (Ubuntu 22.04) on the identical community. My first take a look at was to make use of the --bitcoin-... command line parameters to attempt to get this utility linked to my node.
Right here is the end result.
$ lightningd --lightning-dir=./cln-dir/ --bitcoin-rpcuser=xxxxxx --bitcoin-rpcpassword=xxxxxx --bitcoin-rpcconnect=192.168.1.38 --bitcoin-rpcport=8901
bitcoin-cli not discovered. Is bitcoin-cli (a part of Bitcoin Core) obtainable in your PATH?
Be sure you have bitcoind operating and that bitcoin-cli is in a position to connect with bitcoind.
You may confirm that your Bitcoin Core set up is prepared to be used by operating:
$ bitcoin-cli -rpcconnect=192.168.1.38 -rpcport=8901 -rpcuser=... -rpcpassword=... echo 'whats up world'
2022-11-22T21:31:31.451Z **BROKEN** plugin-bcli: nbitcoin-cli not discovered. Is bitcoin-cli (a part of Bitcoin Core) obtainable in your PATH?nnMake certain you've got bitcoind operating and that bitcoin-cli is in a position to connect with bitcoind.nnYou can confirm that your Bitcoin Core set up is prepared to be used by operating:nn $ bitcoin-cli -rpcconnect=192.168.1.38 -rpcport=8901 -rpcuser=... -rpcpassword=... echo 'whats up world'n
2022-11-22T21:31:31.451Z INFO plugin-bcli: Killing plugin: exited earlier than we despatched init
The Bitcoin backend died.
I’ve bitcoin-cli on the machine I’m operating CLN on, so I attempted it once more, this time offering the bitcoin-cli command line parameter, however I bought the identical end result. If I give it the bitcoin-datadir parameter (which is definitely a listing on the opposite machine), it offers me the identical end result.
I made a decision to attempt bitcoin-cli simply to ensure it’s attainable. With bitcoin core 23.0 operating on one machine and bitcoin-cli operating on the opposite, the next command labored.
$ bitcoin-cli -rpcconnect=192.168.1.38 -rpcport=8901 -rpcuser=xxxxxx -rpcpassword=xxxxxx echo 'whats up world'
[
"hello world"
]
Is there a strategy to run CLN with out utilizing bitcoin-cli?
I simply began attempting to set this up as we speak, so I’m not aware of CLN in any respect. Is it even attainable to do what I’m attempting to do? If that’s the case, what parameters should be set with a purpose to get it to work?
