aboutsummaryrefslogtreecommitdiff
path: root/src/p2p/net_node.h
diff options
context:
space:
mode:
authorrfree2monero <rfreemonero@op.pl>2015-04-08 19:54:07 +0200
committerrfree2monero <rfreemonero@op.pl>2015-04-08 19:54:07 +0200
commit9bfa593eee5a528c70dfaed39feb140a7b10e8b5 (patch)
treeb12e477bbc9e39cf633fde935cf7e8595ae3a4ac /src/p2p/net_node.h
parentupdated unbound cmake for static builds (diff)
downloadmonero-9bfa593eee5a528c70dfaed39feb140a7b10e8b5.tar.xz
[fix] Network 1.8: unlimited the RPC connections
works for unit tests build, too
Diffstat (limited to 'src/p2p/net_node.h')
-rw-r--r--src/p2p/net_node.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/p2p/net_node.h b/src/p2p/net_node.h
index d956b37f0..f86a4f97b 100644
--- a/src/p2p/net_node.h
+++ b/src/p2p/net_node.h
@@ -84,7 +84,8 @@ namespace nodetool
:m_payload_handler(payload_handler),
m_allow_local_ip(false),
m_no_igd(false),
- m_hide_my_port(false)
+ m_hide_my_port(false),
+ m_net_server( epee::net_utils::e_connection_type_P2P ) // this is a P2P connection of the main p2p node server, because this is class node_server<>
{
m_current_number_of_out_peers = 0;
m_save_graph = false;