diff options
| author | João Barbosa <[email protected]> | 2015-05-07 15:49:00 +0100 |
|---|---|---|
| committer | João Barbosa <[email protected]> | 2015-09-16 10:59:32 +0100 |
| commit | 5624e055b310284e8dfd68833eea7f7246316354 (patch) | |
| tree | 9cae42ce1aaac7a71583db94134db33f80906d66 /src/main.cpp | |
| parent | Merge pull request #6663 (diff) | |
| download | discoin-5624e055b310284e8dfd68833eea7f7246316354.tar.xz discoin-5624e055b310284e8dfd68833eea7f7246316354.zip | |
Add UpdatedBlockTip signal to CMainSignals and CValidationInterface
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index a880533e6..27278b977 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()); |