diff --git a/src/p2p/net_node.h b/src/p2p/net_node.h index 29ff8705..c57fa524 100644 --- a/src/p2p/net_node.h +++ b/src/p2p/net_node.h @@ -80,7 +80,8 @@ namespace nodetool m_ip_address{}, m_last_stat_request_time{}, m_use_only_priority_peers(false), - m_peer_livetime{} + m_peer_livetime{}, + m_debug_requests_enabled(false) {} diff --git a/src/p2p/net_node.inl b/src/p2p/net_node.inl index 8557f89e..19c2bf64 100644 --- a/src/p2p/net_node.inl +++ b/src/p2p/net_node.inl @@ -100,9 +100,9 @@ namespace nodetool if (m_offline_mode) return false; - //@#@ workaround + //@#@ temporary workaround return true; - +#if 0 CRITICAL_REGION_LOCAL(m_blocked_ips_lock); auto it = m_blocked_ips.find(addr); if(it == m_blocked_ips.end()) @@ -114,6 +114,7 @@ namespace nodetool return true; } return false; +#endif } //----------------------------------------------------------------------------------- template