Validation‐interface listener that fans node events out to the configured ZMQ notifiers.
Synopsis
Declared in <zmq/zmqnotificationinterface.h>
class CZMQNotificationInterface final
: public CValidationInterface
Base Classes
Name |
Description |
Implement this to subscribe to events generated in validation and mempool |
Member Functions
Name |
Description |
|
Shut down all notifiers and destroy the interface. |
List the notifiers that are currently active. |
Static Member Functions
Name |
Description |
Create the ZMQ notification interface from the configured endpoints. |
Protected Member Functions
Name |
Description |
|
Notifies listeners any time the block chain tip changes, synchronously. |
|
Notifies listeners of a block validation result. If the provided BlockValidationState IsValid, the provided block is guaranteed to be the current best block at the time the callback was generated (not necessarily now). |
|
|
|
|
|
Notifies listeners of the new active block chain on‐disk. |
Initialize the ZMQ context and all notifiers. |
|
|
Notifies listeners of transactions removed from the mempool as as a result of new block being connected. MempoolTransactionsRemovedForBlock will be fired before BlockConnected. |
|
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. |
Shut down all notifiers and destroy the ZMQ context. |
|
|
Handle a transaction being added to the mempool. |
|
Handle a transaction being removed from the mempool. |
|
Handle the active chain tip being updated. |
Created with MrDocs