From 0d8b8d8426db50cc74b95be8d3878948954a75b3 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Tue, 24 Oct 2017 15:04:19 -0700 Subject: [PATCH] Remove some unused constants. --- node/Constants.hpp | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/node/Constants.hpp b/node/Constants.hpp index 651fe50d1..30cd15752 100644 --- a/node/Constants.hpp +++ b/node/Constants.hpp @@ -189,11 +189,6 @@ */ #define ZT_RX_QUEUE_SIZE 64 -/** - * RX queue entries older than this do not "exist" - */ -#define ZT_RX_QUEUE_EXPIRE 4000 - /** * Length of secret key in bytes -- 256-bit -- do not change */ @@ -209,11 +204,6 @@ */ #define ZT_HOUSEKEEPING_PERIOD 60000 -/** - * How long to remember peer records in RAM if they haven't been used - */ -#define ZT_PEER_IN_MEMORY_EXPIRATION 600000 - /** * Delay between WHOIS retries in ms */ @@ -232,7 +222,7 @@ /** * Maximum latency to allow for OK(HELLO) before packet is discarded */ -#define ZT_HELLO_MAX_ALLOWABLE_LATENCY 60000 +#define ZT_HELLO_MAX_ALLOWABLE_LATENCY 120000 /** * Maximum number of ZT hops allowed (this is not IP hops/TTL) @@ -241,11 +231,6 @@ */ #define ZT_RELAY_MAX_HOPS 3 -/** - * Maximum number of upstreams to use (far more than we should ever need) - */ -#define ZT_MAX_UPSTREAMS 64 - /** * Expire time for multicast 'likes' and indirect multicast memberships in ms */