Create the ZMQ notification interface from the configured endpoints.
Declared in <zmq/zmqnotificationinterface.h>
static
std::unique_ptr<CZMQNotificationInterface>
Create(std::function<bool(std::vector<std::byte>&, CBlockIndex const&)> get_block_by_index);
The new interface, or nullptr if no notifiers are configured.
| Name | Description |
|---|---|
| get_block_by_index | Callback that reads a serialized block for a given index. |