I’ve bitcoin core working 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 software linked to my node.
Right here is the outcome.
$ 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) out there in your PATH? Be sure to have bitcoind working and that bitcoin-cli is in a position to hook up with bitcoind. You may confirm that your Bitcoin Core set up is prepared to be used by working: $ bitcoin-cli -rpcconnect=192.168.1.38 -rpcport=8901 -rpcuser=... -rpcpassword=... echo 'hiya world' 2022-11-22T21:31:31.451Z **BROKEN** plugin-bcli: nbitcoin-cli not discovered. Is bitcoin-cli (a part of Bitcoin Core) out there in your PATH?nnMake certain you may have bitcoind working and that bitcoin-cli is in a position to hook up with bitcoind.nnYou can confirm that your Bitcoin Core set up is prepared to be used by working:nn $ bitcoin-cli -rpcconnect=192.168.1.38 -rpcport=8901 -rpcuser=... -rpcpassword=... echo 'hiya 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 working CLN on, so I attempted it once more, this time offering the bitcoin-cli command line parameter, however I received the identical outcome. If I give it the bitcoin-datadir parameter (which is definitely a listing on the opposite machine), it provides me the identical outcome.
I made a decision to attempt bitcoin-cli simply to verify it’s attainable. With bitcoin core 23.0 working on one machine and bitcoin-cli working on the opposite, the next command labored.
$ bitcoin-cli -rpcconnect=192.168.1.38 -rpcport=8901 -rpcuser=xxxxxx -rpcpassword=xxxxxx echo 'hiya world' [ "hello world" ]
Is there a option to run CLN with out utilizing bitcoin-cli?
I simply began making an attempt to set this up right this moment, so I’m not aware of CLN in any respect. Is it even attainable to do what I’m making an attempt to do? In that case, what parameters should be set with a purpose to get it to work?