|
Monero
|
#include <connection_context.h>


Classes | |
| class | copyable_atomic |
Public Types | |
| enum | state { state_before_handshake = 0 , state_synchronizing , state_standby , state_idle , state_normal } |
Public Member Functions | |
| cryptonote_connection_context () | |
| bool | handshake_complete () const noexcept |
| void | set_state_normal () |
| Use this instead of m_state = state_normal. | |
| boost::optional< crypto::hash > | get_expected_hash (uint64_t height) const |
| 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) |
Static Public Member Functions | |
| static constexpr int | handshake_command () noexcept |
| static size_t | get_max_bytes (int command) noexcept |
|
inline |
| boost::optional< crypto::hash > cryptonote::cryptonote_connection_context::get_expected_hash | ( | uint64_t | height | ) | const |
|
staticnoexcept |
|
inlinestaticconstexprnoexcept |
|
inlinenoexcept |
| void cryptonote::cryptonote_connection_context::set_state_normal | ( | ) |
Use this instead of m_state = state_normal.
| bool cryptonote::cryptonote_connection_context::m_anchor |
| copyable_atomic cryptonote::cryptonote_connection_context::m_callback_request_count |
| uint64_t cryptonote::cryptonote_connection_context::m_expect_height |
| int cryptonote::cryptonote_connection_context::m_expect_response |
| std::vector<crypto::hash> cryptonote::cryptonote_connection_context::m_expected_heights |
| uint64_t cryptonote::cryptonote_connection_context::m_expected_heights_start |
| copyable_atomic cryptonote::cryptonote_connection_context::m_idle_peer_notification {0} |
| crypto::hash cryptonote::cryptonote_connection_context::m_last_known_hash |
| boost::posix_time::ptime cryptonote::cryptonote_connection_context::m_last_request_time |
| uint64_t cryptonote::cryptonote_connection_context::m_last_response_height |
| std::vector<std::pair<crypto::hash, uint64_t> > cryptonote::cryptonote_connection_context::m_needed_objects |
| copyable_atomic cryptonote::cryptonote_connection_context::m_new_stripe_notification {0} |
| size_t cryptonote::cryptonote_connection_context::m_num_requested |
| uint32_t cryptonote::cryptonote_connection_context::m_pruning_seed |
| uint64_t cryptonote::cryptonote_connection_context::m_remote_blockchain_height |
| std::unordered_set<crypto::hash> cryptonote::cryptonote_connection_context::m_requested_objects |
| uint32_t cryptonote::cryptonote_connection_context::m_rpc_credits_per_hash |
| uint16_t cryptonote::cryptonote_connection_context::m_rpc_port |
| int32_t cryptonote::cryptonote_connection_context::m_score |
| state cryptonote::cryptonote_connection_context::m_state |