diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-07-29 11:17:43 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-08-01 18:41:57 +0100 |
commit | c6ba7d110fd1339ab4e8ca87c5b30dd9ef7ad758 (patch) | |
tree | 0902d17bcc5128eaba48e2b362d075e9349acb07 /src | |
parent | Merge pull request #2159 (diff) | |
download | monero-c6ba7d110fd1339ab4e8ca87c5b30dd9ef7ad758.tar.xz |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/p2p/net_node.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/p2p/net_node.h b/src/p2p/net_node.h index 8798a52e0..ed00de731 100644 --- a/src/p2p/net_node.h +++ b/src/p2p/net_node.h @@ -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> |