aboutsummaryrefslogtreecommitdiff
path: root/src/p2p/net_node.h
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2021-10-11 12:56:14 -0500
committerluigi1111 <luigi1111w@gmail.com>2021-10-11 12:56:14 -0500
commit45920c36f1945b19df66678d53146c91e044f418 (patch)
treead469d6fc0f9f3b6c5f55f8cc6ffdda04ab64a04 /src/p2p/net_node.h
parentMerge pull request #7793 (diff)
parentnode_server: fix race condition (diff)
downloadmonero-45920c36f1945b19df66678d53146c91e044f418.tar.xz
Merge pull request #7874
9154883 node_server: fix race condition (anon) 8922f96 node_server: add race condition demo (anon)
Diffstat (limited to 'src/p2p/net_node.h')
-rw-r--r--src/p2p/net_node.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/p2p/net_node.h b/src/p2p/net_node.h
index 9e64121be..ac815a100 100644
--- a/src/p2p/net_node.h
+++ b/src/p2p/net_node.h
@@ -111,15 +111,11 @@ namespace nodetool
struct p2p_connection_context_t: base_type //t_payload_net_handler::connection_context //public net_utils::connection_context_base
{
p2p_connection_context_t()
- : fluff_txs(),
- flush_time(std::chrono::steady_clock::time_point::max()),
- peer_id(0),
+ : peer_id(0),
support_flags(0),
m_in_timedsync(false)
{}
- std::vector<cryptonote::blobdata> fluff_txs;
- std::chrono::steady_clock::time_point flush_time;
peerid_type peer_id;
uint32_t support_flags;
bool m_in_timedsync;