Multichain sync status

+2 votes
Hi.

What is the best way to get the information if the multichain is still syncing after a join?

So I want to provide a status information if syncing has finished.

 

Thanks,

Alex
asked Oct 23, 2017 by Alexoid

1 Answer

+2 votes
 
Best answer

There are a couple of things you can look at:

  1. Are there blocks listed in the inflight field of getpeerinfo? If so, and the heights are larger than the current blocks count in getinfo, this means new blocks are coming in.
  2. Are there more headers than blocks in the output from getblockchaininfo?
answered Oct 23, 2017 by MultiChain
selected Oct 23, 2017 by Alexoid
...