diff options
author | Jeff Garzik <jgarzik@bitpay.com> | 2014-08-14 12:32:34 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@bitpay.com> | 2014-08-14 12:32:34 -0400 |
commit | c7b6117debf4ebabc464a55b840bdd7bdeb94fa3 (patch) | |
tree | f0a46587349bba3bb5ab0a3a01e589e9c8e18502 /src/ui_interface.h | |
parent | beb36e800c393da3c5857a8f1e5959748ac0f96b (diff) |
Create new signal for notification of new blocks. Use w/ -blocknotify
Diffstat (limited to 'src/ui_interface.h')
-rw-r--r-- | src/ui_interface.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui_interface.h b/src/ui_interface.h index a073a32828..bbc8a203c9 100644 --- a/src/ui_interface.h +++ b/src/ui_interface.h @@ -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; |