![]() |
PIVX Core
5.6.99
P2P Digital Currency
|
#include <zmqnotificationinterface.h>
Public Member Functions | |
| virtual | ~CZMQNotificationInterface () |
Public Member Functions inherited from CValidationInterface | |
| virtual | ~CValidationInterface ()=default |
| virtual void | AcceptedBlockHeader (const CBlockIndex *pindexNew) |
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) override |
| Notifies listeners of a block being connected. More... | |
| void | BlockDisconnected (const std::shared_ptr< const CBlock > &pblock, const uint256 &blockHash, int nBlockHeight, int64_t blockTime) override |
| Notifies listeners of a block being disconnected. More... | |
| void | UpdatedBlockTip (const CBlockIndex *pindexNew, const CBlockIndex *pindexFork, bool fInitialDownload) override |
| Notifies listeners when the block chain tip advances. More... | |
Protected Member Functions inherited from CValidationInterface | |
| virtual void | TransactionRemovedFromMempool (const CTransactionRef &ptx, MemPoolRemovalReason reason) |
| Notifies listeners of a transaction leaving mempool. More... | |
| virtual void | SetBestChain (const CBlockLocator &locator) |
| Notifies listeners of the new active block chain on-disk. More... | |
| virtual void | ResendWalletTransactions (CConnman *connman) |
| Tells listeners to broadcast their data. More... | |
| virtual void | BlockChecked (const CBlock &, const CValidationState &) |
| friend | void ::RegisterSharedValidationInterface (std::shared_ptr< CValidationInterface >) |
| friend | void ::UnregisterValidationInterface (CValidationInterface *) |
| friend | void ::UnregisterAllValidationInterfaces () |
| virtual void | NotifyMasternodeListChanged (bool undo, const CDeterministicMNList &oldMNList, const CDeterministicMNListDiff &diff) |
| Notifies listeners of updated deterministic masternode list. More... | |
Private Member Functions | |
| CZMQNotificationInterface () | |
Private Attributes | |
| void * | pcontext |
| std::list< CZMQAbstractNotifier * > | notifiers |
Definition at line 16 of file zmqnotificationinterface.h.
|
virtual |
Definition at line 21 of file zmqnotificationinterface.cpp.
|
private |
Definition at line 17 of file zmqnotificationinterface.cpp.
|
overrideprotectedvirtual |
Notifies listeners of a block being connected.
Provides a vector of transactions evicted from the mempool as a result.
Called on a background thread.
Reimplemented from CValidationInterface.
Definition at line 167 of file zmqnotificationinterface.cpp.
|
overrideprotectedvirtual |
Notifies listeners of a block being disconnected.
Called on a background thread.
Reimplemented from CValidationInterface.
Definition at line 175 of file zmqnotificationinterface.cpp.
|
static |
Definition at line 31 of file zmqnotificationinterface.cpp.
|
protected |
Definition at line 72 of file zmqnotificationinterface.cpp.
|
protected |
Definition at line 109 of file zmqnotificationinterface.cpp.
|
overrideprotectedvirtual |
Notifies listeners of a transaction having been added to mempool.
Called on a background thread.
Reimplemented from CValidationInterface.
Definition at line 146 of file zmqnotificationinterface.cpp.
|
overrideprotectedvirtual |
Notifies listeners when the block chain tip advances.
When multiple blocks are connected at once, UpdatedBlockTip will be called on the final tip but may not be called on every intermediate tip. If the latter behavior is desired, subscribe to BlockConnected() instead.
Called on a background thread.
Reimplemented from CValidationInterface.
Definition at line 126 of file zmqnotificationinterface.cpp.
|
private |
Definition at line 37 of file zmqnotificationinterface.h.
|
private |
Definition at line 36 of file zmqnotificationinterface.h.