diff options
author | anon <anon [at] nowhere> | 2021-03-18 20:50:21 +0000 |
---|---|---|
committer | selsta <selsta@sent.at> | 2021-10-06 01:58:50 +0200 |
commit | fe6ab93fb029c94fc04d061885bead9e703837d2 (patch) | |
tree | a2c6ca9d98dce73a54a1374228a45cb56802b235 /src/p2p/net_node.h | |
parent | bootstrap_daemon: proxy configuration support (diff) | |
download | monero-fe6ab93fb029c94fc04d061885bead9e703837d2.tar.xz |
daemon: allow proxy configuration
Co-authored-by: selsta <selsta@sent.at>
Co-authored-by: tobtoht <thotbot@protonmail.com>
Diffstat (limited to 'src/p2p/net_node.h')
-rw-r--r-- | src/p2p/net_node.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/p2p/net_node.h b/src/p2p/net_node.h index 59a6e5091..9d4762739 100644 --- a/src/p2p/net_node.h +++ b/src/p2p/net_node.h @@ -258,7 +258,8 @@ namespace nodetool m_igd(no_igd), m_offline(false), is_closing(false), - m_network_id() + m_network_id(), + m_enable_dns_seed_nodes(true) {} virtual ~node_server(); @@ -266,7 +267,7 @@ namespace nodetool bool run(); network_zone& add_zone(epee::net_utils::zone zone); - bool init(const boost::program_options::variables_map& vm); + bool init(const boost::program_options::variables_map& vm, const std::string& proxy = {}, bool proxy_dns_leaks_allowed = {}); bool deinit(); bool send_stop_signal(); uint32_t get_this_peer_port(){return m_listening_port;} @@ -516,6 +517,7 @@ namespace nodetool epee::net_utils::ssl_support_t m_ssl_support; + bool m_enable_dns_seed_nodes; bool m_enable_dns_blocklist; }; |