diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-05-05 11:26:11 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-05-05 11:26:11 +0200 |
commit | ed09652a174e80cff78f0bfb9e586292d4a1575f (patch) | |
tree | 5d850c07106bb483fdaba054c4759cc6d075cc56 /src/cryptonote_config.h | |
parent | Merge pull request #1997 (diff) | |
parent | Add anchor connections (diff) | |
download | monero-ed09652a174e80cff78f0bfb9e586292d4a1575f.tar.xz |
Merge pull request #1701
8277e67f Add anchor connections (Miguel Herranz)
Diffstat (limited to 'src/cryptonote_config.h')
-rw-r--r-- | src/cryptonote_config.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cryptonote_config.h b/src/cryptonote_config.h index abfa665ff..8dbf1b53b 100644 --- a/src/cryptonote_config.h +++ b/src/cryptonote_config.h @@ -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 |