Create new signal for notification of new blocks. Use w/ -blocknotify
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user