diff options
| author | Jeff Garzik <[email protected]> | 2014-08-14 12:32:34 -0400 |
|---|---|---|
| committer | Jeff Garzik <[email protected]> | 2014-08-14 12:32:34 -0400 |
| commit | c7b6117debf4ebabc464a55b840bdd7bdeb94fa3 (patch) | |
| tree | f0a46587349bba3bb5ab0a3a01e589e9c8e18502 /src/ui_interface.h | |
| parent | ui_interface: remove unused NotifyBlocksChanged signal (diff) | |
| download | discoin-c7b6117debf4ebabc464a55b840bdd7bdeb94fa3.tar.xz discoin-c7b6117debf4ebabc464a55b840bdd7bdeb94fa3.zip | |
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 a073a3282..bbc8a203c 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; |