diff options
author | anon <anon [at] nowhere> | 2021-03-18 20:50:21 +0000 |
---|---|---|
committer | tobtoht <thotbot@protonmail.com> | 2021-08-20 21:24:29 +0200 |
commit | 4ced092aae04e5a6789e94b68a07c74e653cd869 (patch) | |
tree | 8b298bd88ae5bcdf88eaa3e8a7c510b527d56d91 /src/p2p/net_node.h | |
parent | Merge pull request #7735 (diff) | |
download | monero-4ced092aae04e5a6789e94b68a07c74e653cd869.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 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/p2p/net_node.h b/src/p2p/net_node.h index f2888674b..9e64121be 100644 --- a/src/p2p/net_node.h +++ b/src/p2p/net_node.h @@ -259,6 +259,7 @@ namespace nodetool m_offline(false), is_closing(false), m_network_id(), + m_enable_dns_seed_nodes(true), max_connections(1) {} virtual ~node_server(); @@ -267,7 +268,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; uint32_t max_connections; |