mirror of
https://github.com/monero-project/monero.git
synced 2026-01-21 03:53:19 +01:00
p2p: add --max-connections-per-ip daemon option
Helps daemons behind a proxy get more than one connection. Defaults to 1 (no change)
This commit is contained in:
@@ -166,6 +166,7 @@ namespace nodetool
|
||||
const command_line::arg_descriptor<bool> arg_pad_transactions = {
|
||||
"pad-transactions", "Pad relayed transactions to help defend against traffic volume analysis", false
|
||||
};
|
||||
const command_line::arg_descriptor<uint32_t> arg_max_connections_per_ip = {"max-connections-per-ip", "Maximum number of connections allowed from the same IP address", 1};
|
||||
|
||||
boost::optional<std::vector<proxy>> get_proxies(boost::program_options::variables_map const& vm)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user