Command max_bytes moved from dynamic map to static switch

This commit is contained in:
Lee Clagett 2021-01-06 11:47:09 -05:00
parent dbaf95ac77
commit 927141bcc4
8 changed files with 115 additions and 48 deletions

View file

@ -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;

View file

@ -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>