Start9Labs / c-lightning-pruning-plugin

A plugin for c-lightning that manages pruning of bitcoind such that it can always sync.
https://crates.io/crates/c-lightning-pruning-plugin
MIT License
2 stars 3 forks source link

Using this plugin results in constant errors from bcli #3

Open Fonta1n3 opened 4 years ago

Fonta1n3 commented 4 years ago

UNUSUAL plugin-bcli: bitcoin-cli -rpcuser=... -rpcpassword=... getblock 0000000000000000000cbce4fc71b5487ab1e5df056ac392877defc52771657c 0 exited with status 1 prints every second to the lightning.log

dr-bonez commented 3 years ago

That implies that blocks are being pruned that it still needs. Might be an off-by-one issue. Can you tell me the block height of your lightning node, and the rescan parameter?