Merge pull request #9770

151c7f0e8 src: bump network speed 4x (nahuhh)
This commit is contained in:
tobtoht 2025-02-13 17:31:18 +00:00
commit ac7eeab52d
No known key found for this signature in database
GPG Key ID: E45B10DD027D2472
2 changed files with 4 additions and 4 deletions

View File

@ -145,8 +145,8 @@
#define P2P_DEFAULT_WHITELIST_CONNECTIONS_PERCENT 70 #define P2P_DEFAULT_WHITELIST_CONNECTIONS_PERCENT 70
#define P2P_DEFAULT_ANCHOR_CONNECTIONS_COUNT 2 #define P2P_DEFAULT_ANCHOR_CONNECTIONS_COUNT 2
#define P2P_DEFAULT_SYNC_SEARCH_CONNECTIONS_COUNT 2 #define P2P_DEFAULT_SYNC_SEARCH_CONNECTIONS_COUNT 2
#define P2P_DEFAULT_LIMIT_RATE_UP 2048 // kB/s #define P2P_DEFAULT_LIMIT_RATE_UP 8192 // kB/s
#define P2P_DEFAULT_LIMIT_RATE_DOWN 8192 // kB/s #define P2P_DEFAULT_LIMIT_RATE_DOWN 32768 // kB/s
#define P2P_FAILED_ADDR_FORGET_SECONDS (60*60) //1 hour #define P2P_FAILED_ADDR_FORGET_SECONDS (60*60) //1 hour
#define P2P_IP_BLOCKTIME (60*60*24) //24 hour #define P2P_IP_BLOCKTIME (60*60*24) //24 hour

View File

@ -77,8 +77,8 @@ complete -c monerod -l igd -r -a "Enabled disabled enabled" -d "UPnP port mappin
complete -c monerod -l out-peers -r -d "Set max number of out peers. Default: -1" complete -c monerod -l out-peers -r -d "Set max number of out peers. Default: -1"
complete -c monerod -l in-peers -r -d "Set max number of in peers. Default: -1" complete -c monerod -l in-peers -r -d "Set max number of in peers. Default: -1"
complete -c monerod -l tos-flag -r -d "Set TOS flag. Default: -1" complete -c monerod -l tos-flag -r -d "Set TOS flag. Default: -1"
complete -c monerod -l limit-rate-up -r -d "Set limit-rate-up [kB/s]. Default: 2048" complete -c monerod -l limit-rate-up -r -d "Set limit-rate-up [kB/s]. Default: 8192"
complete -c monerod -l limit-rate-down -r -d "Set limit-rate-down [kB/s]. Default: 8192" complete -c monerod -l limit-rate-down -r -d "Set limit-rate-down [kB/s]. Default: 32768"
complete -c monerod -l limit-rate -r -d "Set limit-rate [kB/s]. Default: -1" complete -c monerod -l limit-rate -r -d "Set limit-rate [kB/s]. Default: -1"
complete -c monerod -l pad-transactions -d "Pad relayed transactions to help defend against traffic volume analysis" complete -c monerod -l pad-transactions -d "Pad relayed transactions to help defend against traffic volume analysis"
complete -c monerod -l max-connections-per-ip -r -d "Maximum number of connections allowed from the same IP address. Default: 1" complete -c monerod -l max-connections-per-ip -r -d "Maximum number of connections allowed from the same IP address. Default: 1"