5 #ifndef FABCOIN_ZMQ_ZMQNOTIFICATIONINTERFACE_H 6 #define FABCOIN_ZMQ_ZMQNOTIFICATIONINTERFACE_H 29 void BlockConnected(
const std::shared_ptr<const CBlock>& pblock,
const CBlockIndex* pindexConnected,
const std::vector<CTransactionRef>& vtxConflicted)
override;
40 #endif // FABCOIN_ZMQ_ZMQNOTIFICATIONINTERFACE_H void TransactionAddedToMempool(const CTransactionRef &tx) override
Notifies listeners of a transaction having been added to mempool.
void BlockConnected(const std::shared_ptr< const CBlock > &pblock, const CBlockIndex *pindexConnected, const std::vector< CTransactionRef > &vtxConflicted) override
Notifies listeners of a block being connected.
std::shared_ptr< const CTransaction > CTransactionRef
static CZMQNotificationInterface * Create()
virtual ~CZMQNotificationInterface()
void BlockDisconnected(const std::shared_ptr< const CBlock > &pblock) override
Notifies listeners of a block being disconnected.
void UpdatedBlockTip(const CBlockIndex *pindexNew, const CBlockIndex *pindexFork, bool fInitialDownload) override
Notifies listeners of updated block chain tip.
std::list< CZMQAbstractNotifier * > notifiers
The block chain is a tree shaped structure starting with the genesis block at the root...
CZMQNotificationInterface()