Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
CZMQPublishRawChainLockNotifier Class Reference
#include <zmqpublishnotifier.h>
Inheritance diagram for CZMQPublishRawChainLockNotifier:
Collaboration diagram for CZMQPublishRawChainLockNotifier:
Public Member Functions | |
bool | NotifyChainLock (const CBlockIndex *pindex, const llmq::CChainLockSig &clsig) override |
Public Member Functions inherited from CZMQAbstractPublishNotifier | |
bool | SendMessage (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) |
virtual bool | NotifyBlock (const CBlockIndex *pindex) |
virtual bool | NotifyTransaction (const CTransaction &transaction) |
virtual bool | NotifyTransactionLock (const CTransaction &transaction, const llmq::CInstantSendLock &islock) |
virtual bool | NotifyGovernanceVote (const CGovernanceVote &vote) |
virtual bool | NotifyGovernanceObject (const CGovernanceObject &object) |
virtual bool | NotifyInstantSendDoubleSpendAttempt (const CTransaction ¤tTx, const CTransaction &previousTx) |
Additional Inherited Members | |
Static Public Member Functions inherited from CZMQAbstractNotifier | |
template<typename T > | |
static CZMQAbstractNotifier * | Create () |
Protected Attributes inherited from CZMQAbstractNotifier | |
void * | psocket |
std::string | type |
std::string | address |
Detailed Description
Definition at line 81 of file zmqpublishnotifier.h.
Member Function Documentation
◆ NotifyChainLock()
|
overridevirtual |
Reimplemented from CZMQAbstractNotifier.
Definition at line 255 of file zmqpublishnotifier.cpp.
References CDataStream::begin(), cs_main, CBlockIndex::GetBlockHash(), CChainParams::GetConsensus(), base_blob< BITS >::GetHex(), LOCK, LogPrint, MSG_RAWCHAINLOCK, Params(), PROTOCOL_VERSION, ReadBlockFromDisk(), CZMQAbstractPublishNotifier::SendMessage(), SER_NETWORK, CDataStream::size(), BCLog::ZMQ, and zmqError().
The documentation for this class was generated from the following files:
- src/zmq/zmqpublishnotifier.h
- src/zmq/zmqpublishnotifier.cpp