mirror of
https://github.com/monero-project/monero.git
synced 2026-01-16 14:53:00 -08:00
daemon: allow proxy configuration
Co-authored-by: selsta <selsta@sent.at> Co-authored-by: tobtoht <thotbot@protonmail.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user