From 78b3bf56f7804f3eb1b7cf8b189c5d567be7ca60 Mon Sep 17 00:00:00 2001 From: Janne Pulkkinen Date: Sat, 10 Sep 2011 12:43:45 +0300 Subject: 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. --- src/qt/clientmodel.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/qt/clientmodel.h') 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); -- cgit v1.2.3