summaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-02-07 08:30:40 -0500
committerNick Mathewson <nickm@torproject.org>2015-02-07 08:33:23 -0500
commit4beb83095351b46dcc26e0475341d6d96ce80fc5 (patch)
treec7780369888d7c84bb7191be29c9975102a3d8a0 /src/or/or.h
parentb101f4e98ce811aee729c31f62ec5dd1cfe44e85 (diff)
downloadtor-4beb83095351b46dcc26e0475341d6d96ce80fc5.tar.gz
tor-4beb83095351b46dcc26e0475341d6d96ce80fc5.zip
Split ROUTER_REQUIRED_MIN_BANDWIDTH into RELAY_ and BRIDGE_ variants
Also raise those minima from 20 to 75 and 50 respectively. Closes ticket 13822.
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 520b7dba89..5cea06f808 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -4937,7 +4937,8 @@ typedef struct dir_server_t {
**/
} dir_server_t;
-#define ROUTER_REQUIRED_MIN_BANDWIDTH (20*1024)
+#define RELAY_REQUIRED_MIN_BANDWIDTH (75*1024)
+#define BRIDGE_REQUIRED_MIN_BANDWIDTH (50*1024)
#define ROUTER_MAX_DECLARED_BANDWIDTH INT32_MAX