aboutsummaryrefslogtreecommitdiff
path: root/src/qt/clientmodel.h
diff options
context:
space:
mode:
authorJonas Schnelli <dev@jonasschnelli.ch>2016-09-13 16:36:24 +0200
committerJonas Schnelli <dev@jonasschnelli.ch>2016-09-13 17:57:25 +0200
commitd8b062ef5eea3addff00a09bad1dab162452b4b5 (patch)
treebc4a075d2557f3ea653ffc6b07540fc7653cce97 /src/qt/clientmodel.h
parente3245b43d5c6fc984e8c60495f6db54f85d64368 (diff)
downloadbitcoin-d8b062ef5eea3addff00a09bad1dab162452b4b5.tar.xz
[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.h4
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