#include <connection_context.h>
◆ state
| Enumerator |
|---|
| state_before_handshake | |
| state_synchronizing | |
| state_standby | |
| state_idle | |
| state_normal | |
◆ cryptonote_connection_context()
| cryptonote::cryptonote_connection_context::cryptonote_connection_context |
( |
| ) |
|
|
inline |
◆ get_expected_hash()
| boost::optional< crypto::hash > cryptonote::cryptonote_connection_context::get_expected_hash |
( |
uint64_t | height | ) |
const |
◆ get_max_bytes()
| std::size_t cryptonote::cryptonote_connection_context::get_max_bytes |
( |
int | command | ) |
|
|
staticnoexcept |
- Returns
- Maximum number of bytes permissible for
command.
◆ handshake_command()
| static constexpr int cryptonote::cryptonote_connection_context::handshake_command |
( |
| ) |
|
|
inlinestaticconstexprnoexcept |
◆ handshake_complete()
| bool cryptonote::cryptonote_connection_context::handshake_complete |
( |
| ) |
const |
|
inlinenoexcept |
◆ set_state_normal()
| void cryptonote::cryptonote_connection_context::set_state_normal |
( |
| ) |
|
Use this instead of m_state = state_normal.
◆ m_anchor
| bool cryptonote::cryptonote_connection_context::m_anchor |
◆ m_callback_request_count
| copyable_atomic cryptonote::cryptonote_connection_context::m_callback_request_count |
◆ m_expect_height
| uint64_t cryptonote::cryptonote_connection_context::m_expect_height |
◆ m_expect_response
| int cryptonote::cryptonote_connection_context::m_expect_response |
◆ m_expected_heights
| std::vector<crypto::hash> cryptonote::cryptonote_connection_context::m_expected_heights |
◆ m_expected_heights_start
| uint64_t cryptonote::cryptonote_connection_context::m_expected_heights_start |
◆ m_idle_peer_notification
| copyable_atomic cryptonote::cryptonote_connection_context::m_idle_peer_notification {0} |
◆ 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<std::pair<crypto::hash, uint64_t> > cryptonote::cryptonote_connection_context::m_needed_objects |
◆ m_new_stripe_notification
| copyable_atomic cryptonote::cryptonote_connection_context::m_new_stripe_notification {0} |
◆ m_num_requested
| size_t cryptonote::cryptonote_connection_context::m_num_requested |
◆ 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_credits_per_hash
| uint32_t cryptonote::cryptonote_connection_context::m_rpc_credits_per_hash |
◆ m_rpc_port
| uint16_t cryptonote::cryptonote_connection_context::m_rpc_port |
◆ m_score
| int32_t cryptonote::cryptonote_connection_context::m_score |
◆ m_state
| state cryptonote::cryptonote_connection_context::m_state |
The documentation for this struct was generated from the following files: