Raven Core
3.0.0
P2P Digital Currency
|
#include <zmqnotificationinterface.h>
Public Member Functions | |
virtual | ~CZMQNotificationInterface () |
Static Public Member Functions | |
static CZMQNotificationInterface * | Create () |
Protected Member Functions | |
bool | Initialize () |
void | Shutdown () |
void | TransactionAddedToMempool (const CTransactionRef &tx) override |
Notifies listeners of a transaction having been added to mempool. More... | |
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. More... | |
void | BlockDisconnected (const std::shared_ptr< const CBlock > &pblock) override |
Notifies listeners of a block being disconnected. More... | |
void | UpdatedBlockTip (const CBlockIndex *pindexNew, const CBlockIndex *pindexFork, bool fInitialDownload) override |
Notifies listeners of updated block chain tip. More... | |
void | NewAssetMessage (const CMessage &message) override |
Protected Member Functions inherited from CValidationInterface | |
virtual void | SetBestChain (const CBlockLocator &locator) |
Notifies listeners of the new active block chain on-disk. More... | |
virtual void | Inventory (const uint256 &hash) |
Notifies listeners about an inventory item being seen on the network. More... | |
virtual void | ResendWalletTransactions (int64_t nBestBlockTime, CConnman *connman) |
Tells listeners to broadcast their data. More... | |
virtual void | BlockChecked (const CBlock &, const CValidationState &) |
Notifies listeners of a block validation result. More... | |
virtual void | NewPoWValidBlock (const CBlockIndex *pindex, const std::shared_ptr< const CBlock > &block) |
Notifies listeners that a block which builds directly on our current tip has been received and connected to the headers tree, though not validated yet. More... | |
virtual void | BlockFound (const uint256 &hash) |
friend | void ::RegisterValidationInterface (CValidationInterface *) |
friend | void ::UnregisterValidationInterface (CValidationInterface *) |
friend | void ::UnregisterAllValidationInterfaces () |
Private Member Functions | |
CZMQNotificationInterface () | |
Private Attributes | |
void * | pcontext |
std::list< CZMQAbstractNotifier * > | notifiers |
Definition at line 17 of file zmqnotificationinterface.h.
|
virtual |
Definition at line 23 of file zmqnotificationinterface.cpp.
|
private |
Definition at line 19 of file zmqnotificationinterface.cpp.
|
overrideprotectedvirtual |
Notifies listeners of a block being connected.
Provides a vector of transactions evicted from the mempool as a result.
Reimplemented from CValidationInterface.
Definition at line 187 of file zmqnotificationinterface.cpp.
|
overrideprotectedvirtual |
Notifies listeners of a block being disconnected.
Reimplemented from CValidationInterface.
Definition at line 195 of file zmqnotificationinterface.cpp.
|
static |
Definition at line 33 of file zmqnotificationinterface.cpp.
|
protected |
Definition at line 75 of file zmqnotificationinterface.cpp.
|
overrideprotectedvirtual |
Reimplemented from CValidationInterface.
Definition at line 149 of file zmqnotificationinterface.cpp.
|
protected |
Definition at line 112 of file zmqnotificationinterface.cpp.
|
overrideprotectedvirtual |
Notifies listeners of a transaction having been added to mempool.
Reimplemented from CValidationInterface.
Definition at line 166 of file zmqnotificationinterface.cpp.
|
overrideprotectedvirtual |
Notifies listeners of updated block chain tip.
Reimplemented from CValidationInterface.
Definition at line 129 of file zmqnotificationinterface.cpp.
|
private |
Definition at line 39 of file zmqnotificationinterface.h.
|
private |
Definition at line 38 of file zmqnotificationinterface.h.