I need to get some values to find how updated my bitcoind client is.
For example, I would like the GUI to tell me:
- If it is up to date. If not, show blocks/total blocks
- How many blocks have been downloaded
- The time that the last received block was generated.
Are there commands available in the JSON API to get this information? Or how else can I achieve this?