|
Electroneum
|
#include <connection_context.h>


Public Types | |
| enum | state { state_before_handshake = 0, state_synchronizing, state_standby, state_idle, state_normal } |
Public Member Functions | |
| cryptonote_connection_context () | |
Public Member Functions inherited from epee::net_utils::connection_context_base | |
| connection_context_base (boost::uuids::uuid connection_id, const network_address &remote_address, bool is_income, bool ssl, time_t last_recv=0, time_t last_send=0, uint64_t recv_cnt=0, uint64_t send_cnt=0) | |
| connection_context_base () | |
| connection_context_base (const connection_context_base &a) | |
| connection_context_base & | operator= (const connection_context_base &a) |
Public Attributes | |
| state | m_state |
| std::vector< crypto::hash > | m_needed_objects |
| std::unordered_set< crypto::hash > | m_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 |
Public Attributes inherited from epee::net_utils::connection_context_base | |
| const boost::uuids::uuid | m_connection_id |
| const network_address | m_remote_address |
| const bool | m_is_income |
| const time_t | m_started |
| const time_t | m_ssl |
| time_t | m_last_recv |
| time_t | m_last_send |
| uint64_t | m_recv_cnt |
| uint64_t | m_send_cnt |
| double | m_current_speed_down |
| double | m_current_speed_up |
| double | m_max_speed_down |
| double | m_max_speed_up |
Definition at line 41 of file connection_context.h.
| Enumerator | |
|---|---|
| state_before_handshake | |
| state_synchronizing | |
| state_standby | |
| state_idle | |
| state_normal | |
Definition at line 47 of file connection_context.h.
|
inline |
Definition at line 43 of file connection_context.h.
| std::list<std::pair<std::string, uint8_t> > cryptonote::cryptonote_connection_context::emergency_lists_recv |
Definition at line 67 of file connection_context.h.
| std::list<std::string> cryptonote::cryptonote_connection_context::emergency_lists_sent |
Definition at line 68 of file connection_context.h.
| bool cryptonote::cryptonote_connection_context::m_anchor |
Definition at line 66 of file connection_context.h.
| epee::copyable_atomic cryptonote::cryptonote_connection_context::m_callback_request_count |
Definition at line 62 of file connection_context.h.
| crypto::hash cryptonote::cryptonote_connection_context::m_last_known_hash |
Definition at line 63 of file connection_context.h.
| boost::posix_time::ptime cryptonote::cryptonote_connection_context::m_last_request_time |
Definition at line 61 of file connection_context.h.
| uint64_t cryptonote::cryptonote_connection_context::m_last_response_height |
Definition at line 60 of file connection_context.h.
| std::vector<crypto::hash> cryptonote::cryptonote_connection_context::m_needed_objects |
Definition at line 57 of file connection_context.h.
| uint32_t cryptonote::cryptonote_connection_context::m_pruning_seed |
Definition at line 64 of file connection_context.h.
| uint64_t cryptonote::cryptonote_connection_context::m_remote_blockchain_height |
Definition at line 59 of file connection_context.h.
| std::unordered_set<crypto::hash> cryptonote::cryptonote_connection_context::m_requested_objects |
Definition at line 58 of file connection_context.h.
| uint16_t cryptonote::cryptonote_connection_context::m_rpc_port |
Definition at line 65 of file connection_context.h.
| state cryptonote::cryptonote_connection_context::m_state |
Definition at line 56 of file connection_context.h.