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