Is there a way to know from
bitcoind RPC if it's syncing headers or blocks? And is there a way to know the header sync progress?
Even if not directly available, is it possible to derive header sync progress from other information through RPC?
I tried to get this information from the debug log, but the problem there is that occasionally, the last header sync log message looks like this
Synchronizing blockheaders, height: 1660930 (~95.02%)
It never logs out whether it reached 100% or not, and that's a problem for the software that I'm working on.