diff options
| author | Janne Pulkkinen <[email protected]> | 2011-09-10 12:43:45 +0300 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2011-09-11 10:29:29 +0200 |
| commit | 78b3bf56f7804f3eb1b7cf8b189c5d567be7ca60 (patch) | |
| tree | 92bce2d9cd303d04a05b0e3ed97d65ec12e1a32d /src/qt/clientmodel.h | |
| parent | http -> https (diff) | |
| download | discoin-78b3bf56f7804f3eb1b7cf8b189c5d567be7ca60.tar.xz discoin-78b3bf56f7804f3eb1b7cf8b189c5d567be7ca60.zip | |
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.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/qt/clientmodel.h b/src/qt/clientmodel.h index 15387056c..8605fb93a 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); |