summaryrefslogtreecommitdiff
path: root/src/p2p
diff options
context:
space:
mode:
authorAlexander Blair <snipa@jagtech.io>2021-01-07 17:55:23 -0800
committerAlexander Blair <snipa@jagtech.io>2021-01-07 17:55:23 -0800
commit8fef32e45c80aec41f25be9d1d8fb75adc883c64 (patch)
tree4bf9e47a9af9b13fc89b63831e883db264c4fdef /src/p2p
parent7f1a83b852a3bcacea3cc01693ea7722344e338c (diff)
parentba3c627c57e3aebd56c35b45ec8bd310995fa467 (diff)
downloadmonzero-core-0.17.1.9.tar.gz
monzero-core-0.17.1.9.tar.xz
monzero-core-0.17.1.9.zip
Merge pull request #7292v0.17.1.9
ba3c627c5 Command max_bytes moved from dynamic map to static switch (Lee Clagett)
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 20f3e19bf..2387e3bff 100644
--- a/src/p2p/net_node.inl
+++ b/src/p2p/net_node.inl
@@ -2639,7 +2639,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>