clightning4j / lamp

c-Lightning Android Mobile Porting
MIT License
20 stars 10 forks source link

bitcoin-cli missing in latest update #92

Open jsarenik opened 3 years ago

jsarenik commented 3 years ago

Hi! The older version of lamp which used lightningd 0.9.1 also had bitcoin-cli and could connect to local network bitcoind -testnet node over RPC. After upgrade I get this error in the log:

/data/data/com.lvaccaro.lamp/no_backup/lightningd/../plugins/bcli: 
bitcoin-cli not found. Is bitcoin-cli (part of Bitcoin Core) available in your PATH?
Make sure you have bitcoind running and that bitcoin-cli is able to connect to bitcoind.
You can verify that your Bitcoin Core installation is ready for use by running:
    $ /data/data/com.lvaccaro.lamp/no_backup/bitcoin-cli -testnet -datadir=/data/user/0/com.lvaccaro.lamp/no_backup/.bitcoin -rpcconnect=192.168.1.58 -rpcport=18332 -rpcuser=... -rpcpassword=... echo 'hello world'
2021-03-07T14:15:28.993Z INFO    plugin-bcli: Killing plugin: Plugin exited before completing handshake.
The Bitcoin backend died.
jsarenik commented 3 years ago

The new (broken) is 436233a, the one I had before was 3c20c12