summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2017-10-24 15:04:19 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2017-10-24 15:04:19 -0700
commit0d8b8d8426db50cc74b95be8d3878948954a75b3 (patch)
treebe3a5f4caec774a01600efcab49f813230cb1b89
parent2d0dc62a53dcbd46c3e2c796dfa655b805909f6b (diff)
downloadinfinitytier-0d8b8d8426db50cc74b95be8d3878948954a75b3.tar.gz
infinitytier-0d8b8d8426db50cc74b95be8d3878948954a75b3.zip
Remove some unused constants.
-rw-r--r--node/Constants.hpp17
1 files changed, 1 insertions, 16 deletions
diff --git a/node/Constants.hpp b/node/Constants.hpp
index 651fe50d..30cd1575 100644
--- a/node/Constants.hpp
+++ b/node/Constants.hpp
@@ -190,11 +190,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
*/
#define ZT_PEER_SECRET_KEY_LENGTH 32
@@ -210,11 +205,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
*/
#define ZT_WHOIS_RETRY_DELAY 500
@@ -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)
@@ -242,11 +232,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
*/
#define ZT_MULTICAST_LIKE_EXPIRE 600000