32 #include <unordered_set> 34 #include <boost/date_time/posix_time/posix_time.hpp> 35 #include "net/net_utils_base.h" 36 #include "copyable_atomic.h" 77 return "before_handshake";
79 return "synchronizing";
Definition: connection_context.h:53
boost::posix_time::ptime m_last_request_time
Definition: connection_context.h:62
crypto::hash m_last_known_hash
Definition: connection_context.h:64
epee::copyable_atomic m_callback_request_count
Definition: connection_context.h:63
uint32_t m_pruning_seed
Definition: connection_context.h:65
Definition: unordered_containers_boost_serialization.h:37
uint32_t m_rpc_credits_per_hash
Definition: connection_context.h:67
Definition: connection_context.h:51
char get_protocol_state_char(cryptonote_connection_context::state s)
Definition: connection_context.h:91
std::unordered_set< crypto::hash > m_requested_objects
Definition: connection_context.h:59
crypto namespace.
Definition: crypto.cpp:60
Definition: connection_context.h:42
std::vector< std::pair< crypto::hash, uint64_t > > m_needed_objects
Definition: connection_context.h:58
cryptonote_connection_context()
Definition: connection_context.h:44
uint64_t m_remote_blockchain_height
Definition: connection_context.h:60
state
Definition: connection_context.h:48
Holds cryptonote related classes and helpers.
Definition: blockchain_db.cpp:44
Definition: connection_context.h:50
static constexpr crypto::hash null_hash
Definition: hash.h:92
#define false
Definition: stdbool.h:37
std::string get_protocol_state_string(cryptonote_connection_context::state s)
Definition: connection_context.h:72
Definition: blake256.h:36
bool m_anchor
Definition: connection_context.h:68
Definition: connection_context.h:54
POD_CLASS hash
Definition: hash.h:48
state m_state
Definition: connection_context.h:57
uint16_t m_rpc_port
Definition: connection_context.h:66
Definition: connection_context.h:52
#define s(x, c)
Definition: aesb.c:47
uint64_t m_last_response_height
Definition: connection_context.h:61