Monero
Loading...
Searching...
No Matches
cryptonote::listener::zmq_pub::miner_data Struct Reference

Callable for send_miner_data with weak ownership to zmq_pub object. More...

#include <zmq_pub.h>

Public Member Functions

void operator() (uint8_t major_version, uint64_t height, const crypto::hash &prev_id, const crypto::hash &seed_hash, difficulty_type diff, uint64_t median_weight, uint64_t already_generated_coins, const std::vector< tx_block_template_backlog_entry > &tx_backlog) const

Public Attributes

std::weak_ptr< zmq_pubself_

Detailed Description

Callable for send_miner_data with weak ownership to zmq_pub object.

Member Function Documentation

◆ operator()()

void cryptonote::listener::zmq_pub::miner_data::operator() ( uint8_t major_version,
uint64_t height,
const crypto::hash & prev_id,
const crypto::hash & seed_hash,
difficulty_type diff,
uint64_t median_weight,
uint64_t already_generated_coins,
const std::vector< tx_block_template_backlog_entry > & tx_backlog ) const

Member Data Documentation

◆ self_

std::weak_ptr<zmq_pub> cryptonote::listener::zmq_pub::miner_data::self_

The documentation for this struct was generated from the following files: