aboutsummaryrefslogtreecommitdiff
path: root/src/zmq/zmqnotificationinterface.h
diff options
context:
space:
mode:
authorJonas Schnelli <[email protected]>2015-09-16 16:42:23 +0200
committerJonas Schnelli <[email protected]>2015-09-16 16:51:21 +0200
commitd76a8acb9b7bcabf43e3e05168a36911f187818d (patch)
tree2322acc9cd1448c524e7507a517deca6da7cf43c /src/zmq/zmqnotificationinterface.h
parentconfigure.ac: Revert autotools-auto-updated 2.69 autoconf requirement (diff)
downloaddiscoin-d76a8acb9b7bcabf43e3e05168a36911f187818d.tar.xz
discoin-d76a8acb9b7bcabf43e3e05168a36911f187818d.zip
use CBlockIndex* insted of uint256 for UpdatedBlockTip signal
- removes mapBlockIndex find operation - theoretically allows removing the cs_main lock during zqm notification while introducing a new file position lock
Diffstat (limited to 'src/zmq/zmqnotificationinterface.h')
-rw-r--r--src/zmq/zmqnotificationinterface.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/zmq/zmqnotificationinterface.h b/src/zmq/zmqnotificationinterface.h
index afc0b8d24..8eea15c06 100644
--- a/src/zmq/zmqnotificationinterface.h
+++ b/src/zmq/zmqnotificationinterface.h
@@ -9,6 +9,7 @@
#include <string>
#include <map>
+class CBlockIndex;
class CZMQAbstractNotifier;
class CZMQNotificationInterface : public CValidationInterface
@@ -23,7 +24,7 @@ public:
protected: // CValidationInterface
void SyncTransaction(const CTransaction &tx, const CBlock *pblock);
- void UpdatedBlockTip(const uint256 &newHashTip);
+ void UpdatedBlockTip(const CBlockIndex *pindex);
private:
CZMQNotificationInterface();