aboutsummaryrefslogtreecommitdiff
path: root/src/ui_interface.h
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@bitpay.com>2014-08-14 12:32:34 -0400
committerJeff Garzik <jgarzik@bitpay.com>2014-08-14 12:32:34 -0400
commitc7b6117debf4ebabc464a55b840bdd7bdeb94fa3 (patch)
treef0a46587349bba3bb5ab0a3a01e589e9c8e18502 /src/ui_interface.h
parentbeb36e800c393da3c5857a8f1e5959748ac0f96b (diff)
downloadbitcoin-c7b6117debf4ebabc464a55b840bdd7bdeb94fa3.tar.xz
Create new signal for notification of new blocks. Use w/ -blocknotify
Diffstat (limited to 'src/ui_interface.h')
-rw-r--r--src/ui_interface.h3
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;