Monero
Loading...
Searching...
No Matches
cryptonote::i_miner_handler Struct Referenceabstract

#include <miner.h>

Inheritance diagram for cryptonote::i_miner_handler:

Public Member Functions

virtual bool handle_block_found (block &b, block_verification_context &bvc)=0
virtual bool get_block_template (block &b, const account_public_address &adr, difficulty_type &diffic, uint64_t &height, uint64_t &expected_reward, const blobdata &ex_nonce, uint64_t &seed_height, crypto::hash &seed_hash)=0

Protected Member Functions

 ~i_miner_handler ()

Constructor & Destructor Documentation

◆ ~i_miner_handler()

cryptonote::i_miner_handler::~i_miner_handler ( )
inlineprotected

Member Function Documentation

◆ get_block_template()

virtual bool cryptonote::i_miner_handler::get_block_template ( block & b,
const account_public_address & adr,
difficulty_type & diffic,
uint64_t & height,
uint64_t & expected_reward,
const blobdata & ex_nonce,
uint64_t & seed_height,
crypto::hash & seed_hash )
pure virtual

Implemented in cryptonote::core.

◆ handle_block_found()

virtual bool cryptonote::i_miner_handler::handle_block_found ( block & b,
block_verification_context & bvc )
pure virtual

Implemented in cryptonote::core.


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