aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorJoão Barbosa <joao@bitreserve.org>2015-05-07 15:49:00 +0100
committerJoão Barbosa <joao@bitreserve.org>2015-09-16 10:59:32 +0100
commit5624e055b310284e8dfd68833eea7f7246316354 (patch)
tree9cae42ce1aaac7a71583db94134db33f80906d66 /src/main.cpp
parent9733bc99a0b967522ff47e00f4d8e408e6ee5c4f (diff)
Add UpdatedBlockTip signal to CMainSignals and CValidationInterface
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index a880533e65..27278b977a 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -2303,6 +2303,7 @@ bool ActivateBestChain(CValidationState &state, const CBlock *pblock) {
pnode->PushInventory(CInv(MSG_BLOCK, hashNewTip));
}
// Notify external listeners about the new tip.
+ GetMainSignals().UpdatedBlockTip(hashNewTip);
uiInterface.NotifyBlockTip(hashNewTip);
}
} while(pindexMostWork != chainActive.Tip());