[Qt] only update "amount of blocks left" when the header chain is in-sync

This commit is contained in:
Jonas Schnelli
2016-09-13 16:36:24 +02:00
parent e3245b43d5
commit d8b062ef5e
6 changed files with 32 additions and 9 deletions

View File

@@ -51,8 +51,8 @@ public:
//! Return number of connections, default is in- and outbound (total)
int getNumConnections(unsigned int flags = CONNECTIONS_ALL) const;
int getNumBlocks() const;
int getHeaderHeight() const;
int getHeaderTipHeight() const;
int64_t getHeaderTipTime() const;
//! Return number of transactions in the mempool
long getMempoolSize() const;
//! Return the dynamic memory usage of the mempool