Electroneum
cryptonote::cryptonote_protocol_stub Struct Reference

#include <cryptonote_protocol_handler_common.h>

Inheritance diagram for cryptonote::cryptonote_protocol_stub:
Collaboration diagram for cryptonote::cryptonote_protocol_stub:

Public Member Functions

virtual bool relay_block (NOTIFY_NEW_BLOCK::request &arg, cryptonote_connection_context &exclude_context)
 
virtual bool relay_transactions (NOTIFY_NEW_TRANSACTIONS::request &arg, cryptonote_connection_context &exclude_context)
 
virtual bool request_validators_list (cryptonote_connection_context &context)
 
virtual bool request_validators_list_to_all ()
 
virtual bool relay_emergency_validator_list (NOTIFY_EMERGENCY_VALIDATORS_LIST::request &arg, cryptonote_connection_context &exclude_context)
 

Detailed Description

Definition at line 55 of file cryptonote_protocol_handler_common.h.

Member Function Documentation

◆ relay_block()

virtual bool cryptonote::cryptonote_protocol_stub::relay_block ( NOTIFY_NEW_BLOCK::request arg,
cryptonote_connection_context exclude_context 
)
inlinevirtual

Implements cryptonote::i_cryptonote_protocol.

Definition at line 57 of file cryptonote_protocol_handler_common.h.

58  {
59  return false;
60  }

◆ relay_emergency_validator_list()

virtual bool cryptonote::cryptonote_protocol_stub::relay_emergency_validator_list ( NOTIFY_EMERGENCY_VALIDATORS_LIST::request arg,
cryptonote_connection_context exclude_context 
)
inlinevirtual

Implements cryptonote::i_cryptonote_protocol.

Definition at line 73 of file cryptonote_protocol_handler_common.h.

74  {
75  return false;
76  }

◆ relay_transactions()

virtual bool cryptonote::cryptonote_protocol_stub::relay_transactions ( NOTIFY_NEW_TRANSACTIONS::request arg,
cryptonote_connection_context exclude_context 
)
inlinevirtual

Implements cryptonote::i_cryptonote_protocol.

Definition at line 61 of file cryptonote_protocol_handler_common.h.

62  {
63  return false;
64  }

◆ request_validators_list()

virtual bool cryptonote::cryptonote_protocol_stub::request_validators_list ( cryptonote_connection_context context)
inlinevirtual

Implements cryptonote::i_cryptonote_protocol.

Definition at line 65 of file cryptonote_protocol_handler_common.h.

66  {
67  return false;
68  }

◆ request_validators_list_to_all()

virtual bool cryptonote::cryptonote_protocol_stub::request_validators_list_to_all ( )
inlinevirtual

Implements cryptonote::i_cryptonote_protocol.

Definition at line 69 of file cryptonote_protocol_handler_common.h.

70  {
71  return false;
72  }

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