diff options
author | Jeff Garzik <jgarzik@bitpay.com> | 2014-07-29 10:53:38 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@bitpay.com> | 2014-08-14 12:19:54 -0400 |
commit | beb36e800c393da3c5857a8f1e5959748ac0f96b (patch) | |
tree | 41e4ff78f9adc6fd5eb7867247a6de81015d355d /src/main.cpp | |
parent | 7accb7dbad6bef0c98dc436d164f27189294eaf5 (diff) |
ui_interface: remove unused NotifyBlocksChanged signal
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/main.cpp b/src/main.cpp index e135e93adb..e73942d7e0 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1386,10 +1386,8 @@ void Misbehaving(NodeId pnode, int howmuch) void static InvalidChainFound(CBlockIndex* pindexNew) { if (!pindexBestInvalid || pindexNew->nChainWork > pindexBestInvalid->nChainWork) - { pindexBestInvalid = pindexNew; - uiInterface.NotifyBlocksChanged(); - } + LogPrintf("InvalidChainFound: invalid block=%s height=%d log2_work=%.8g date=%s\n", pindexNew->GetBlockHash().ToString(), pindexNew->nHeight, log(pindexNew->nChainWork.getdouble())/log(2.0), DateTimeStrFormat("%Y-%m-%d %H:%M:%S", @@ -2175,7 +2173,6 @@ bool ActivateBestChain(CValidationState &state) { boost::thread t(runCommand, strCmd); // thread runs free } } - uiInterface.NotifyBlocksChanged(); } while(pindexMostWork != chainActive.Tip()); return true; |