[#CZMQPublishRawBlockNotifier-2constructor] = xref:CZMQPublishRawBlockNotifier.adoc[CZMQPublishRawBlockNotifier]::CZMQPublishRawBlockNotifier :relfileprefix: ../ :mrdocs: Construct the notifier with a callback that reads a block's raw bytes. == Synopsis Declared in `<zmq/zmqpublishnotifier.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- CZMQPublishRawBlockNotifier(std::function<bool(std::vector<std::byte>&, xref:CBlockIndex.adoc[CBlockIndex] const&)> get_block_by_index); ---- == Parameters [cols="1,4"] |=== | Name| Description | *get_block_by_index* | Callback that reads a serialized block for a given index. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#