Changeset View
Changeset View
Standalone View
Standalone View
src/zmq/zmqnotificationinterface.h
Show All 24 Lines | protected: | ||||
void Shutdown(); | void Shutdown(); | ||||
// CValidationInterface | // CValidationInterface | ||||
void TransactionAddedToMempool(const CTransactionRef &tx) override; | void TransactionAddedToMempool(const CTransactionRef &tx) override; | ||||
void | void | ||||
BlockConnected(const std::shared_ptr<const CBlock> &pblock, | BlockConnected(const std::shared_ptr<const CBlock> &pblock, | ||||
const CBlockIndex *pindexConnected, | const CBlockIndex *pindexConnected, | ||||
const std::vector<CTransactionRef> &vtxConflicted) override; | const std::vector<CTransactionRef> &vtxConflicted) override; | ||||
void | void BlockDisconnected(const std::shared_ptr<const CBlock> &pblock, | ||||
BlockDisconnected(const std::shared_ptr<const CBlock> &pblock) override; | const CBlockIndex *pindexDisconnected) override; | ||||
void UpdatedBlockTip(const CBlockIndex *pindexNew, | void UpdatedBlockTip(const CBlockIndex *pindexNew, | ||||
const CBlockIndex *pindexFork, | const CBlockIndex *pindexFork, | ||||
bool fInitialDownload) override; | bool fInitialDownload) override; | ||||
private: | private: | ||||
CZMQNotificationInterface(); | CZMQNotificationInterface(); | ||||
void *pcontext; | void *pcontext; | ||||
std::list<CZMQAbstractNotifier *> notifiers; | std::list<CZMQAbstractNotifier *> notifiers; | ||||
}; | }; | ||||
extern CZMQNotificationInterface *g_zmq_notification_interface; | extern CZMQNotificationInterface *g_zmq_notification_interface; | ||||
#endif // BITCOIN_ZMQ_ZMQNOTIFICATIONINTERFACE_H | #endif // BITCOIN_ZMQ_ZMQNOTIFICATIONINTERFACE_H |