5 #ifndef BITCOIN_ZMQ_ZMQABSTRACTNOTIFIER_H 6 #define BITCOIN_ZMQ_ZMQABSTRACTNOTIFIER_H 28 static std::unique_ptr<CZMQAbstractNotifier>
Create()
30 return MakeUnique<T>();
67 #endif // BITCOIN_ZMQ_ZMQABSTRACTNOTIFIER_H
static std::unique_ptr< CZMQAbstractNotifier > Create()
virtual bool NotifyBlockDisconnect(const CBlockIndex *pindex)
virtual bool NotifyBlock(const CBlockIndex *pindex)
std::string GetAddress() const
virtual bool NotifyTransactionRemoval(const CTransaction &transaction, uint64_t mempool_sequence)
virtual bool NotifyBlockConnect(const CBlockIndex *pindex)
virtual ~CZMQAbstractNotifier()
virtual bool NotifyTransaction(const CTransaction &transaction)
void SetOutboundMessageHighWaterMark(const int sndhwm)
int GetOutboundMessageHighWaterMark() const
std::unique_ptr< CZMQAbstractNotifier >(*)() CZMQNotifierFactory
void SetAddress(const std::string &a)
static const int DEFAULT_ZMQ_SNDHWM
virtual void Shutdown()=0
The block chain is a tree shaped structure starting with the genesis block at the root...
virtual bool NotifyTransactionAcceptance(const CTransaction &transaction, uint64_t mempool_sequence)
int outbound_message_high_water_mark
virtual bool Initialize(void *pcontext)=0
The basic transaction that is broadcasted on the network and contained in blocks. ...
void SetType(const std::string &t)
std::string GetType() const