Change progress bar from block-based to time-based

This is less confusing to most people, and doesn't rely on estimates
of the total number of blocks received from other nodes.
This commit is contained in:
Wladimir J. van der Laan
2013-02-10 19:01:30 +01:00
committed by Pieter Wuille
parent 2f0fa79db2
commit 24cde0b7d1
4 changed files with 42 additions and 47 deletions

View File

@@ -54,6 +54,7 @@ QDateTime ClientModel::getLastBlockDate() const
return QDateTime::fromTime_t(1231006505); // Genesis block's time
}
void ClientModel::updateTimer()
{
// Some quantities (such as number of blocks) change so fast that we don't want to be notified for each change.