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/daemon/command_line_args.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 '')
-rw-r--r-- | src/daemon/command_line_args.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/daemon/command_line_args.h b/src/daemon/command_line_args.h index 6c3e163e6..a988fe25f 100644 --- a/src/daemon/command_line_args.h +++ b/src/daemon/command_line_args.h @@ -96,6 +96,16 @@ namespace daemon_args , 0 }; + const command_line::arg_descriptor<std::string> arg_proxy = { + "proxy", + "Network communication through proxy: <socks-ip:port> i.e. \"127.0.0.1:9050\"", + "", + }; + const command_line::arg_descriptor<bool> arg_proxy_allow_dns_leaks = { + "proxy-allow-dns-leaks", + "Allow DNS leaks outside of proxy", + false, + }; const command_line::arg_descriptor<bool> arg_public_node = { "public-node" , "Allow other users to use the node as a remote (restricted RPC mode, view-only commands) and advertise it over P2P" |