user95885: 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.

user208: The getblockchaininfo RPC will tell you have many blocks and headers you have. When the number of headers is larger, you're still synchronizing.

95885: <p>Is there a way to know from <code>bitcoind</code> RPC if it's syncing headers or blocks? And is there a way to know the header sync progress?</p>

<p>Even if not directly available, is it possible to derive header sync progress from other information through RPC?</p>

<p>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</p>

<pre><code>Synchronizing blockheaders, height: 1660930 (~95.02%)
</code></pre>

<p>It never logs out whether it reached 100% or not, and that's a problem for the software that I'm working on.</p>
 208: <p>The <code>getblockchaininfo</code> RPC will tell you have many blocks and headers you have. When the number of headers is larger, you're still synchronizing.</p>
