5 #ifndef BITCOIN_ZMQ_ZMQNOTIFICATIONINTERFACE_H 6 #define BITCOIN_ZMQ_ZMQNOTIFICATIONINTERFACE_H 35 bool fInitialDownload)
override;
46 #endif // BITCOIN_ZMQ_ZMQNOTIFICATIONINTERFACE_H std::shared_ptr< const CTransaction > CTransactionRef
void BlockDisconnected(const std::shared_ptr< const CBlock > &pblock, const CBlockIndex *pindexDisconnected) override
Notifies listeners of a block being disconnected.
std::list< CZMQAbstractNotifier * > notifiers
void TransactionAddedToMempool(const CTransactionRef &tx) override
Notifies listeners of a transaction having been added to mempool.
Implement this to subscribe to events generated in validation.
static CZMQNotificationInterface * Create()
virtual ~CZMQNotificationInterface()
void BlockConnected(const std::shared_ptr< const CBlock > &pblock, const CBlockIndex *pindexConnected) override
Notifies listeners of a block being connected.
void UpdatedBlockTip(const CBlockIndex *pindexNew, const CBlockIndex *pindexFork, bool fInitialDownload) override
Notifies listeners when the block chain tip advances.
The block chain is a tree shaped structure starting with the genesis block at the root...
CZMQNotificationInterface * g_zmq_notification_interface
std::list< const CZMQAbstractNotifier * > GetActiveNotifiers() const
CZMQNotificationInterface()