Closed eliaspfeffer closed 8 months ago
I think I've figured it out.
As I have a pruned node, which you can figure out via this: bitcoin-cli getblockchaininfo | grep -E 'blocks|pruned'
, lightning was looking for a very old block (see the log, mentioned above: Block ID 0000000000000000000217f1453a5a4550689f70a5280c1dd413821d921f429c
.)
But because my Bitcoin Node is pruned, it doesnt have that. So I've had two options:
and before that figuring out how many blocks I need (=> look at www.mempool.space, enter the block ID, look at the blockheight, compare that with the current blockheight, enter the difference + a bit more).
Attention: if you do this, you will loose all your eventually still in your node existing funds! How to do that: Stop lightning, go to the .lightning folder, cut out everything (dont delete it, but move it somewhere else if you need to get access to your old node one day). Restart lightning.
Did the second option. Now its running again.
Check which BlockID is missing, figure out the difference, download the missing difference (, delete the difference later again?)
Issue and Steps to Reproduce
When attempting to use
lightning-cli getinfo
, I get this:Meanwhile
lightning-cli
runs without any problems. Meaning it shows me the typical commands overview.Software versions used:
Bitcoin Core RPC client version v25.0.0 C-Lightning: v23.11.2-modded (Have self-compiled C-Lightning like in this tutorial: CLN 1 - Setup & Backup )
Steps to reproduce:
Lightningd
Lightning-cli getinfo
--> Getting the error. See Log entry down below:Configuration Files
~/.bitcoin/bitcoin.conf
~/.lightning/config
Log File
Additional Context
Steps Taken
System Information
Tor Status: