Create new signal for notification of new blocks. Use w/ -blocknotify

This commit is contained in:
Jeff Garzik
2014-08-14 12:32:34 -04:00
parent beb36e800c
commit c7b6117deb
3 changed files with 17 additions and 5 deletions

View File

@@ -92,6 +92,9 @@ public:
/** Show progress e.g. for verifychain */
boost::signals2::signal<void (const std::string &title, int nProgress)> ShowProgress;
/** New block has been accepted */
boost::signals2::signal<void (const uint256& hash)> NotifyBlockTip;
};
extern CClientUIInterface uiInterface;