Author

Topic: API call for sync status (Read 668 times)

legendary
Activity: 1974
Merit: 1029
May 01, 2013, 01:21:05 PM
#2
I would like to write a script to launch bitcoind each 24 hours and stop it after sync, but I don't find any API call to get the synchronization to the blockchain status.

Which API call should I use to know when bitcoind is synchronized to the network ?

I don't know of any. If I were you, I would probably check against blockexplorer.com, blockchain.info and twitter.com/blockheaders, for example.
member
Activity: 66
Merit: 10
May 01, 2013, 11:23:11 AM
#1
Hello,

I would like to write a script to launch bitcoind each 24 hours and stop it after sync, but I don't find any API call to get the synchronization to the blockchain status.

Which API call should I use to know when bitcoind is synchronized to the network ?

Thanks  Smiley
Jump to: