aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2012-04-02 20:34:17 +0200
committerWladimir J. van der Laan <[email protected]>2012-04-02 20:37:55 +0200
commit2675fe6218f2f280f09ce45a0737120788c580ec (patch)
treedd692db4471f1621491f1cc41e97cafcfc764e26
parentMerge pull request #990 from sipa/doc (diff)
downloaddiscoin-2675fe6218f2f280f09ce45a0737120788c580ec.tar.xz
discoin-2675fe6218f2f280f09ce45a0737120788c580ec.zip
Increase time ago of last block for "up to date" status from 30 to 90 minutes
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
-rw-r--r--src/qt/bitcoingui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/bitcoingui.cpp b/src/qt/bitcoingui.cpp
index 7bce1286c..cf252e84c 100644
--- a/src/qt/bitcoingui.cpp
+++ b/src/qt/bitcoingui.cpp
@@ -515,7 +515,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));