mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-19 13:27:35 +02:00
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:
parent
2f0fa79db2
commit
24cde0b7d1
4 changed files with 42 additions and 47 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue