From 8277e67f112fcf066b4530616560efec87f0b20e Mon Sep 17 00:00:00 2001 From: Miguel Herranz Date: Thu, 9 Feb 2017 01:11:58 +0100 Subject: Add anchor connections Based on https://eprint.iacr.org/2015/263.pdf 4. Anchor connections. Peer list serialisation version bumped to 5. --- src/cryptonote_config.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/cryptonote_config.h') diff --git a/src/cryptonote_config.h b/src/cryptonote_config.h index 97f2f2afc..3f15cee3f 100644 --- a/src/cryptonote_config.h +++ b/src/cryptonote_config.h @@ -107,6 +107,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 -- cgit v1.2.3