aboutsummaryrefslogtreecommitdiff
path: root/src/p2p
diff options
context:
space:
mode:
authorLee Clagett <code@leeclagett.com>2021-01-06 11:47:09 -0500
committerLee Clagett <code@leeclagett.com>2020-12-22 20:54:16 +0000
commit927141bcc4dd5ff729eb445b32a624f9e5acbe2d (patch)
tree4f03162832843a8c40b9b3dc9318ec8ef5ff5f20 /src/p2p
parentMerge pull request #7271 (diff)
downloadmonero-927141bcc4dd5ff729eb445b32a624f9e5acbe2d.tar.xz
Command max_bytes moved from dynamic map to static switch
Diffstat (limited to 'src/p2p')
-rw-r--r--src/p2p/net_node.h2
-rw-r--r--src/p2p/net_node.inl1
2 files changed, 0 insertions, 3 deletions
diff --git a/src/p2p/net_node.h b/src/p2p/net_node.h
index 1f9fa46a4..59a6e5091 100644
--- a/src/p2p/net_node.h
+++ b/src/p2p/net_node.h
@@ -118,8 +118,6 @@ namespace nodetool
m_in_timedsync(false)
{}
- static constexpr int handshake_command() noexcept { return 1001; }
-
std::vector<cryptonote::blobdata> fluff_txs;
std::chrono::steady_clock::time_point flush_time;
peerid_type peer_id;
diff --git a/src/p2p/net_node.inl b/src/p2p/net_node.inl
index 2cea30288..b8bd7b2a7 100644
--- a/src/p2p/net_node.inl
+++ b/src/p2p/net_node.inl
@@ -2636,7 +2636,6 @@ namespace nodetool
void node_server<t_payload_net_handler>::on_connection_new(p2p_connection_context& context)
{
MINFO("["<< epee::net_utils::print_connection_context(context) << "] NEW CONNECTION");
- m_payload_handler.on_connection_new(context);
}
//-----------------------------------------------------------------------------------
template<class t_payload_net_handler>