ergo icon indicating copy to clipboard operation
ergo copied to clipboard

Determining whether the node is still syncing and calculating sync progress

Open oliverw opened this issue 3 years ago • 3 comments

I'm trying to determining whether the node (testnet) is still syncing and if it is, calculate the current sync progress using the REST API but I can't find the datapoints in the Swagger Spec. Any pointers?

oliverw avatar Jul 05 '21 08:07 oliverw

You can compare headersHeight with fullHeight from http://127.0.0.1:9053/info ... if headersHeight is ahead it means it is still syncing

or headersHeight with walletHeight from http://127.0.0.1:9053/wallet/status if you want even wallet to be synced

pragmaxim avatar Aug 04 '21 12:08 pragmaxim

Calculating progress will be possible after #1441 being merged

kushti avatar Sep 24 '21 08:09 kushti

Calculating progress will be possible after #1441 being merged

How does this help calculate progress for the local node sync?

glasgowm148 avatar Mar 12 '22 18:03 glasgowm148