diff options
author | Jonas Schnelli <dev@jonasschnelli.ch> | 2016-09-13 16:36:24 +0200 |
---|---|---|
committer | Jonas Schnelli <dev@jonasschnelli.ch> | 2016-09-13 17:57:25 +0200 |
commit | d8b062ef5eea3addff00a09bad1dab162452b4b5 (patch) | |
tree | bc4a075d2557f3ea653ffc6b07540fc7653cce97 /src/qt/clientmodel.h | |
parent | e3245b43d5c6fc984e8c60495f6db54f85d64368 (diff) |
[Qt] only update "amount of blocks left" when the header chain is in-sync
Diffstat (limited to 'src/qt/clientmodel.h')
-rw-r--r-- | src/qt/clientmodel.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qt/clientmodel.h b/src/qt/clientmodel.h index f0c9a7988a..3fd8404cbb 100644 --- a/src/qt/clientmodel.h +++ b/src/qt/clientmodel.h @@ -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 |