aboutsummaryrefslogtreecommitdiff
path: root/src/zmq/zmqpublishnotifier.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2015-09-30 11:07:54 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2015-09-30 11:08:30 +0200
commit4f44530bc38fb8367c2b9bde21492b545e7f7f26 (patch)
tree53145a92262745270cfda20578a317e24a749973 /src/zmq/zmqpublishnotifier.h
parent3f74cd2361b9f72a91d21f87980e15f2b5b5ca9f (diff)
parentd76a8acb9b7bcabf43e3e05168a36911f187818d (diff)
Merge pull request #6680
d76a8ac use CBlockIndex* insted of uint256 for UpdatedBlockTip signal (Jonas Schnelli)
Diffstat (limited to 'src/zmq/zmqpublishnotifier.h')
-rw-r--r--src/zmq/zmqpublishnotifier.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/zmq/zmqpublishnotifier.h b/src/zmq/zmqpublishnotifier.h
index a0eb26f5e2..44d5cbea67 100644
--- a/src/zmq/zmqpublishnotifier.h
+++ b/src/zmq/zmqpublishnotifier.h
@@ -7,6 +7,8 @@
#include "zmqabstractnotifier.h"
+class CBlockIndex;
+
class CZMQAbstractPublishNotifier : public CZMQAbstractNotifier
{
public:
@@ -17,7 +19,7 @@ public:
class CZMQPublishHashBlockNotifier : public CZMQAbstractPublishNotifier
{
public:
- bool NotifyBlock(const uint256 &hash);
+ bool NotifyBlock(const CBlockIndex *pindex);
};
class CZMQPublishHashTransactionNotifier : public CZMQAbstractPublishNotifier
@@ -29,7 +31,7 @@ public:
class CZMQPublishRawBlockNotifier : public CZMQAbstractPublishNotifier
{
public:
- bool NotifyBlock(const uint256 &hash);
+ bool NotifyBlock(const CBlockIndex *pindex);
};
class CZMQPublishRawTransactionNotifier : public CZMQAbstractPublishNotifier