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/cryptonote_config.h | |
parent | Merge pull request #4721 (diff) | |
download | monero-2bd46065ae894d9de026548bc42ec9e4b8f97f89.tar.xz |
Expose limit-rate defaults from command line help
Diffstat (limited to '')
-rw-r--r-- | src/cryptonote_config.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cryptonote_config.h b/src/cryptonote_config.h index c62eeb738..496678b5e 100644 --- a/src/cryptonote_config.h +++ b/src/cryptonote_config.h @@ -113,6 +113,8 @@ #define P2P_DEFAULT_HANDSHAKE_INVOKE_TIMEOUT 5000 //5 seconds #define P2P_DEFAULT_WHITELIST_CONNECTIONS_PERCENT 70 #define P2P_DEFAULT_ANCHOR_CONNECTIONS_COUNT 2 +#define P2P_DEFAULT_LIMIT_RATE_UP 2048 // kB/s +#define P2P_DEFAULT_LIMIT_RATE_DOWN 8192 // kB/s #define P2P_FAILED_ADDR_FORGET_SECONDS (60*60) //1 hour #define P2P_IP_BLOCKTIME (60*60*24) //24 hour |