From 2bd46065ae894d9de026548bc42ec9e4b8f97f89 Mon Sep 17 00:00:00 2001 From: RaskaRuby Date: Wed, 31 Oct 2018 14:47:20 -0700 Subject: Expose limit-rate defaults from command line help --- src/cryptonote_config.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/cryptonote_config.h') 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 -- cgit v1.2.3