aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_config.h
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-05-05 11:26:11 +0200
committerRiccardo Spagni <ric@spagni.net>2017-05-05 11:26:11 +0200
commited09652a174e80cff78f0bfb9e586292d4a1575f (patch)
tree5d850c07106bb483fdaba054c4759cc6d075cc56 /src/cryptonote_config.h
parentMerge pull request #1997 (diff)
parentAdd anchor connections (diff)
downloadmonero-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.h1
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