Electroneum
Public Types | Public Member Functions | Public Attributes | List of all members
cryptonote::cryptonote_connection_context Struct Reference

#include <connection_context.h>

Inheritance diagram for cryptonote::cryptonote_connection_context:
Inheritance graph
[legend]
Collaboration diagram for cryptonote::cryptonote_connection_context:
Collaboration graph
[legend]

Public Types

enum  state {
  state_before_handshake = 0 , state_synchronizing , state_standby , state_idle ,
  state_normal
}
 

Public Member Functions

 cryptonote_connection_context ()
 

Public Attributes

state m_state
 
std::vector< crypto::hashm_needed_objects
 
std::unordered_set< crypto::hashm_requested_objects
 
uint64_t m_remote_blockchain_height
 
uint64_t m_last_response_height
 
boost::posix_time::ptime m_last_request_time
 
epee::copyable_atomic m_callback_request_count
 
crypto::hash m_last_known_hash
 
uint32_t m_pruning_seed
 
uint16_t m_rpc_port
 
bool m_anchor
 
std::list< std::pair< std::string, uint8_t > > emergency_lists_recv
 
std::list< std::string > emergency_lists_sent
 

Member Enumeration Documentation

◆ state

Enumerator
state_before_handshake 
state_synchronizing 
state_standby 
state_idle 
state_normal 

Constructor & Destructor Documentation

◆ cryptonote_connection_context()

cryptonote::cryptonote_connection_context::cryptonote_connection_context ( )
inline

Member Data Documentation

◆ emergency_lists_recv

std::list<std::pair<std::string, uint8_t> > cryptonote::cryptonote_connection_context::emergency_lists_recv

◆ emergency_lists_sent

std::list<std::string> cryptonote::cryptonote_connection_context::emergency_lists_sent

◆ m_anchor

bool cryptonote::cryptonote_connection_context::m_anchor

◆ m_callback_request_count

epee::copyable_atomic cryptonote::cryptonote_connection_context::m_callback_request_count

◆ m_last_known_hash

crypto::hash cryptonote::cryptonote_connection_context::m_last_known_hash

◆ m_last_request_time

boost::posix_time::ptime cryptonote::cryptonote_connection_context::m_last_request_time

◆ m_last_response_height

uint64_t cryptonote::cryptonote_connection_context::m_last_response_height

◆ m_needed_objects

std::vector<crypto::hash> cryptonote::cryptonote_connection_context::m_needed_objects

◆ m_pruning_seed

uint32_t cryptonote::cryptonote_connection_context::m_pruning_seed

◆ m_remote_blockchain_height

uint64_t cryptonote::cryptonote_connection_context::m_remote_blockchain_height

◆ m_requested_objects

std::unordered_set<crypto::hash> cryptonote::cryptonote_connection_context::m_requested_objects

◆ m_rpc_port

uint16_t cryptonote::cryptonote_connection_context::m_rpc_port

◆ m_state

state cryptonote::cryptonote_connection_context::m_state

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