git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
d02833c
)
Increase time ago of last block for "up to date" status from 30 to 90 minutes
author
Wladimir J. van der Laan
<laanwj@gmail.com>
Mon, 2 Apr 2012 18:34:17 +0000 (20:34 +0200)
committer
Luke Dashjr
<luke-jr+git@utopios.org>
Wed, 4 Apr 2012 20:00:04 +0000 (16:00 -0400)
It was too hyperactive.
gmaxwell: I mean that right now when the block gap goes over an hour it starts showing synchronizing. Increasing that to 90 minutes or so would make it only happen about 6.4 times per year
src/qt/bitcoingui.cpp
patch
|
blob
|
history
diff --git
a/src/qt/bitcoingui.cpp
b/src/qt/bitcoingui.cpp
index
ed891f3
..
be60838
100644
(file)
--- a/
src/qt/bitcoingui.cpp
+++ b/
src/qt/bitcoingui.cpp
@@
-480,7
+480,7
@@
void BitcoinGUI::setNumBlocks(int count)
}
// Set icon state: spinning if catching up, tick otherwise
- if(secs < 30*60)
+ if(secs < 90*60)
{
tooltip = tr("Up to date") + QString(".\n") + tooltip;
labelBlocksIcon->setPixmap(QIcon(":/icons/synced").pixmap(STATUSBAR_ICONSIZE,STATUSBAR_ICONSIZE));