diff options
Diffstat (limited to '')
-rw-r--r-- | src/p2p/net_node.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/p2p/net_node.h b/src/p2p/net_node.h index 112f30fb6..15e6d9f8b 100644 --- a/src/p2p/net_node.h +++ b/src/p2p/net_node.h @@ -210,6 +210,7 @@ namespace nodetool node_server(t_payload_net_handler& payload_handler) : m_payload_handler(payload_handler), m_external_port(0), + m_rpc_port(0), m_allow_local_ip(false), m_hide_my_port(false), m_no_igd(false), @@ -399,6 +400,12 @@ namespace nodetool m_save_graph = save_graph; epee::net_utils::connection_basic::set_save_graph(save_graph); } + + void set_rpc_port(uint16_t rpc_port) + { + m_rpc_port = rpc_port; + } + private: std::string m_config_folder; @@ -406,6 +413,7 @@ namespace nodetool bool m_first_connection_maker_call; uint32_t m_listening_port; uint32_t m_external_port; + uint16_t m_rpc_port; bool m_allow_local_ip; bool m_hide_my_port; bool m_no_igd; |