p2p: move m_in_timedsync from connection_context to p2p_connection_context

It's got no place in the base class as it's P2P specific field
This commit is contained in:
moneromooo-monero
2017-07-29 11:17:43 +01:00
parent ab594cfee9
commit c6ba7d110f
2 changed files with 3 additions and 3 deletions
+3
View File
@@ -61,8 +61,11 @@ namespace nodetool
template<class base_type>
struct p2p_connection_context_t: base_type //t_payload_net_handler::connection_context //public net_utils::connection_context_base
{
p2p_connection_context_t(): support_flags(0), m_in_timedsync(false) {}
peerid_type peer_id;
uint32_t support_flags;
bool m_in_timedsync;
};
template<class t_payload_net_handler>