diff options
author | RaskaRuby <dogcow@tutanota.com> | 2018-10-31 14:47:20 -0700 |
---|---|---|
committer | RaskaRuby <dogcow@tutanota.com> | 2018-10-31 14:47:20 -0700 |
commit | 2bd46065ae894d9de026548bc42ec9e4b8f97f89 (patch) | |
tree | 87db015857f9ec6a7fdf4f36564fd5aae6226fa7 /src/p2p/net_node.h | |
parent | Merge pull request #4721 (diff) | |
download | monero-2bd46065ae894d9de026548bc42ec9e4b8f97f89.tar.xz |
Expose limit-rate defaults from command line help
Diffstat (limited to 'src/p2p/net_node.h')
-rw-r--r-- | src/p2p/net_node.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/p2p/net_node.h b/src/p2p/net_node.h index 90e2f78b1..1c348cac4 100644 --- a/src/p2p/net_node.h +++ b/src/p2p/net_node.h @@ -337,8 +337,8 @@ namespace nodetool cryptonote::network_type m_nettype; }; - const int64_t default_limit_up = 2048; // kB/s - const int64_t default_limit_down = 8192; // kB/s + const int64_t default_limit_up = P2P_DEFAULT_LIMIT_RATE_UP; // kB/s + const int64_t default_limit_down = P2P_DEFAULT_LIMIT_RATE_DOWN; // kB/s extern const command_line::arg_descriptor<std::string> arg_p2p_bind_ip; extern const command_line::arg_descriptor<std::string, false, true, 2> arg_p2p_bind_port; extern const command_line::arg_descriptor<uint32_t> arg_p2p_external_port; |