diff options
| author | Jonas Schnelli <[email protected]> | 2016-09-13 16:36:24 +0200 |
|---|---|---|
| committer | Jonas Schnelli <[email protected]> | 2016-09-13 17:57:25 +0200 |
| commit | d8b062ef5eea3addff00a09bad1dab162452b4b5 (patch) | |
| tree | bc4a075d2557f3ea653ffc6b07540fc7653cce97 /src/qt/clientmodel.h | |
| parent | [Qt] add out-of-sync modal info layer (diff) | |
| download | discoin-d8b062ef5eea3addff00a09bad1dab162452b4b5.tar.xz discoin-d8b062ef5eea3addff00a09bad1dab162452b4b5.zip | |
[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 f0c9a7988..3fd8404cb 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 |