Electroneum
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)=0

Protected Member Functions

 ~i_miner_handler ()

Detailed Description

Definition at line 48 of file miner.h.

Constructor & Destructor Documentation

◆ ~i_miner_handler()

cryptonote::i_miner_handler::~i_miner_handler ( )
inlineprotected

Definition at line 53 of file miner.h.

53{};

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 )
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:
  • /home/abuild/rpmbuild/BUILD/electroneum-5.1.3.1-build/electroneum-5.1.3.1/src/cryptonote_basic/miner.h