Create the ZMQ notification interface from the configured endpoints.

Synopsis

Declared in <zmq/zmqnotificationinterface.h>

static
std::unique_ptr<CZMQNotificationInterface>
Create(std::function<bool(std::vector<std::byte>&, CBlockIndex const&)> get_block_by_index);

Return Value

The new interface, or nullptr if no notifiers are configured.

Parameters

Name

Description

get_block_by_index

Callback that reads a serialized block for a given index.

Created with MrDocs