Bitcoin Core  21.99.0
P2P Digital Currency
Public Member Functions | List of all members
CZMQPublishSequenceNotifier Class Reference

#include <zmqpublishnotifier.h>

Inheritance diagram for CZMQPublishSequenceNotifier:
[legend]
Collaboration diagram for CZMQPublishSequenceNotifier:
[legend]

Public Member Functions

bool NotifyBlockConnect (const CBlockIndex *pindex) override
 
bool NotifyBlockDisconnect (const CBlockIndex *pindex) override
 
bool NotifyTransactionAcceptance (const CTransaction &transaction, uint64_t mempool_sequence) override
 
bool NotifyTransactionRemoval (const CTransaction &transaction, uint64_t mempool_sequence) override
 
- Public Member Functions inherited from CZMQAbstractPublishNotifier
bool SendZmqMessage (const char *command, const void *data, size_t size)
 
bool Initialize (void *pcontext) override
 
void Shutdown () override
 
- Public Member Functions inherited from CZMQAbstractNotifier
 CZMQAbstractNotifier ()
 
virtual ~CZMQAbstractNotifier ()
 
std::string GetType () const
 
void SetType (const std::string &t)
 
std::string GetAddress () const
 
void SetAddress (const std::string &a)
 
int GetOutboundMessageHighWaterMark () const
 
void SetOutboundMessageHighWaterMark (const int sndhwm)
 
virtual bool NotifyBlock (const CBlockIndex *pindex)
 
virtual bool NotifyTransaction (const CTransaction &transaction)
 

Additional Inherited Members

- Static Public Member Functions inherited from CZMQAbstractNotifier
template<typename T >
static std::unique_ptr< CZMQAbstractNotifierCreate ()
 
- Static Public Attributes inherited from CZMQAbstractNotifier
static const int DEFAULT_ZMQ_SNDHWM {1000}
 
- Protected Attributes inherited from CZMQAbstractNotifier
void * psocket
 
std::string type
 
std::string address
 
int outbound_message_high_water_mark
 

Detailed Description

Definition at line 55 of file zmqpublishnotifier.h.

Member Function Documentation

◆ NotifyBlockConnect()

bool CZMQPublishSequenceNotifier::NotifyBlockConnect ( const CBlockIndex pindex)
overridevirtual

Reimplemented from CZMQAbstractNotifier.

Definition at line 232 of file zmqpublishnotifier.cpp.

Here is the call graph for this function:

◆ NotifyBlockDisconnect()

bool CZMQPublishSequenceNotifier::NotifyBlockDisconnect ( const CBlockIndex pindex)
overridevirtual

Reimplemented from CZMQAbstractNotifier.

Definition at line 243 of file zmqpublishnotifier.cpp.

Here is the call graph for this function:

◆ NotifyTransactionAcceptance()

bool CZMQPublishSequenceNotifier::NotifyTransactionAcceptance ( const CTransaction transaction,
uint64_t  mempool_sequence 
)
overridevirtual

Reimplemented from CZMQAbstractNotifier.

Definition at line 254 of file zmqpublishnotifier.cpp.

Here is the call graph for this function:

◆ NotifyTransactionRemoval()

bool CZMQPublishSequenceNotifier::NotifyTransactionRemoval ( const CTransaction transaction,
uint64_t  mempool_sequence 
)
overridevirtual

Reimplemented from CZMQAbstractNotifier.

Definition at line 266 of file zmqpublishnotifier.cpp.

Here is the call graph for this function:

The documentation for this class was generated from the following files: