mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 15:09:59 +01:00
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.
This commit is contained in:
committed by
Wladimir J. van der Laan
parent
9b9e2f1748
commit
78b3bf56f7
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user