lightning icon indicating copy to clipboard operation
lightning copied to clipboard

How can I tell when rescan is finished?

Open joepalermo opened this issue 3 years ago • 1 comments
trafficstars

Steps to Reproduce

I'm using "rescan" to recover on-chain funds by passing it to lightningd via my lightningd.service file: ExecStart=/usr/bin/lightningd --daemon --conf ~/.lightning/config --pid-file=~/.lightning/lightningd-bitcoin.pid --lightning-dir=~/.lightning/ –-log-file=~/.lightning/lightningd.log --rescan=-1000

Questions

How can I tell when rescan is finished? The logs at ~/.lightning/lightningd.log don't mention it. Also, the funds I expected to recover aren't available via lightning-cli --lightning-dir=~/.lightning listfunds, so I currently have no way to know if rescan is finished. Also roughly how long should I expect rescanning 1k blocks to take?

Thanks

joepalermo avatar Sep 20 '22 16:09 joepalermo

That should be the blockheight in the getinfo result.

cdecker avatar Sep 21 '22 15:09 cdecker