Construct the notifier with a callback that reads a block's raw bytes.
Declared in <zmq/zmqpublishnotifier.h>
CZMQPublishRawBlockNotifier(std::function<bool(std::vector<std::byte>&, CBlockIndex const&)> get_block_by_index);
| Name | Description |
|---|---|
| get_block_by_index | Callback that reads a serialized block for a given index. |