Electroneum
Public Member Functions | Private Attributes | List of all members
cryptonote::cryptonote_protocol_handler_base Class Referenceabstract

#include <cryptonote_protocol_handler.h>

Inheritance diagram for cryptonote::cryptonote_protocol_handler_base:
Inheritance graph
[legend]

Public Member Functions

 cryptonote_protocol_handler_base ()
 
virtual ~cryptonote_protocol_handler_base ()
 
void handler_request_blocks_history (std::list< crypto::hash > &ids)
 
void handler_response_blocks_now (size_t packet_size)
 
virtual double get_avg_block_size ()=0
 
virtual double estimate_one_block_size () noexcept
 

Private Attributes

std::unique_ptr< cryptonote_protocol_handler_base_pimplmI
 

Constructor & Destructor Documentation

◆ cryptonote_protocol_handler_base()

cryptonote::cryptonote_protocol_handler_base::cryptonote_protocol_handler_base ( )

◆ ~cryptonote_protocol_handler_base()

cryptonote::cryptonote_protocol_handler_base::~cryptonote_protocol_handler_base ( )
virtual

Member Function Documentation

◆ estimate_one_block_size()

double cryptonote::cryptonote_protocol_handler_base::estimate_one_block_size ( )
virtualnoexcept

◆ get_avg_block_size()

virtual double cryptonote::cryptonote_protocol_handler_base::get_avg_block_size ( )
pure virtual

◆ handler_request_blocks_history()

void cryptonote::cryptonote_protocol_handler_base::handler_request_blocks_history ( std::list< crypto::hash > &  ids)

◆ handler_response_blocks_now()

void cryptonote::cryptonote_protocol_handler_base::handler_response_blocks_now ( size_t  packet_size)

Member Data Documentation

◆ mI

std::unique_ptr<cryptonote_protocol_handler_base_pimpl> cryptonote::cryptonote_protocol_handler_base::mI
private

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