![]() |
Bitcoin Core 22.99.0
P2P Digital Currency
|
#include <zmqpublishnotifier.h>
Public Member Functions | |
| 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 | NotifyBlockConnect (const CBlockIndex *pindex) |
| virtual bool | NotifyBlockDisconnect (const CBlockIndex *pindex) |
| virtual bool | NotifyTransactionAcceptance (const CTransaction &transaction, uint64_t mempool_sequence) |
| virtual bool | NotifyTransactionRemoval (const CTransaction &transaction, uint64_t mempool_sequence) |
| virtual bool | NotifyTransaction (const CTransaction &transaction) |
Private Attributes | |
| uint32_t | nSequence {0U} |
| upcounting per message sequence number More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from CZMQAbstractNotifier | |
| template<typename T > | |
| static std::unique_ptr< CZMQAbstractNotifier > | Create () |
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 |
Definition at line 12 of file zmqpublishnotifier.h.
|
overridevirtual |
Implements CZMQAbstractNotifier.
Definition at line 91 of file zmqpublishnotifier.cpp.
| bool CZMQAbstractPublishNotifier::SendZmqMessage | ( | const char * | command, |
| const void * | data, | ||
| size_t | size | ||
| ) |
Definition at line 189 of file zmqpublishnotifier.cpp.
|
overridevirtual |
Implements CZMQAbstractNotifier.
Definition at line 158 of file zmqpublishnotifier.cpp.
|
private |
upcounting per message sequence number
Definition at line 15 of file zmqpublishnotifier.h.