diff options
author | Riccardo Spagni <ric@spagni.net> | 2018-11-16 10:59:38 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2018-11-16 10:59:38 +0200 |
commit | d7bac99f6fd1ad8e3f3c90785a3f5b7d77e73cc5 (patch) | |
tree | 9adc82588b684599e4c1288ea7c2e6fbdec1d14e /src/cryptonote_config.h | |
parent | Merge pull request #4768 (diff) | |
parent | Expose limit-rate defaults from command line help (diff) | |
download | monero-d7bac99f6fd1ad8e3f3c90785a3f5b7d77e73cc5.tar.xz |
Merge pull request #4770
2bd46065 Expose limit-rate defaults from command line help (RaskaRuby)
Diffstat (limited to 'src/cryptonote_config.h')
-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 |