mirror of
https://github.com/monero-project/monero.git
synced 2025-08-10 18:30:05 -04:00
Merge pull request #1701
8277e67f
Add anchor connections (Miguel Herranz)
This commit is contained in:
commit
ed09652a17
6 changed files with 208 additions and 18 deletions
|
@ -109,6 +109,7 @@
|
|||
#define P2P_DEFAULT_INVOKE_TIMEOUT 60*2*1000 //2 minutes
|
||||
#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_FAILED_ADDR_FORGET_SECONDS (60*60) //1 hour
|
||||
#define P2P_IP_BLOCKTIME (60*60*24) //24 hour
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue