nbd-wtf / trustedcoin

A lightningd plugin that replaces bitcoind with trusted public explorers.
MIT License
61 stars 15 forks source link

Unable to catch to the tip #23

Open urza opened 1 year ago

urza commented 1 year ago

On startup the plugin correctly reports tip block, but then is lagging behind and never catches up. It looks like it is not even trying, and just accepts old blocks one by one in ~10 min. intervals, so it can never progress and catch with current block.

(I run this on beefy Ryzen, so it is not by lack of computing power)

fiatjaf commented 1 year ago

Did something change in the CLN Bitcoin backend plugin interface?

This plugin just responds to lightningd calls. lightningd is supposed to ask for blocks by number and then this plugin just dumbly responds with whatever was called. It is not supposed to try to catch to the tip by itself.

urza commented 1 year ago

Thanks, I will investigate what is happening on CLN side..