aboutsummaryrefslogtreecommitdiff
path: root/src/qt/clientmodel.h
diff options
context:
space:
mode:
authorJanne Pulkkinen <jannepulk@gmail.com>2011-09-10 12:43:45 +0300
committerWladimir J. van der Laan <laanwj@gmail.com>2011-09-11 10:29:29 +0200
commit78b3bf56f7804f3eb1b7cf8b189c5d567be7ca60 (patch)
tree92bce2d9cd303d04a05b0e3ed97d65ec12e1a32d /src/qt/clientmodel.h
parent9b9e2f1748c8d6df4ecf7a8710bf8dadb3e200aa (diff)
downloadbitcoin-78b3bf56f7804f3eb1b7cf8b189c5d567be7ca60.tar.xz
The synchronization progress bar now compares the amount of total blocks to amount of blocks downloaded at application start-up. Could be probably implemented better.
Diffstat (limited to 'src/qt/clientmodel.h')
-rw-r--r--src/qt/clientmodel.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/qt/clientmodel.h b/src/qt/clientmodel.h
index 15387056c8..8605fb93ab 100644
--- a/src/qt/clientmodel.h
+++ b/src/qt/clientmodel.h
@@ -23,6 +23,7 @@ public:
int getNumConnections() const;
int getNumBlocks() const;
+ int getNumBlocksAtStartup();
QDateTime getLastBlockDate() const;
@@ -41,6 +42,8 @@ private:
int cachedNumConnections;
int cachedNumBlocks;
+ int numBlocksAtStartup;
+
signals:
void numConnectionsChanged(int count);
void numBlocksChanged(int count);