aboutsummaryrefslogtreecommitdiff
path: root/src/or/dirvote.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-02-18 09:17:02 -0500
committerNick Mathewson <nickm@torproject.org>2015-02-18 09:17:02 -0500
commit96211bcf714ac739f605dc0b5b8754418080591f (patch)
tree7c677d7993a65df2df28171dc7695a4dbab80937 /src/or/dirvote.h
parent164eeefb9360e20d358f3a08157c5b6227d98ac7 (diff)
parent5c34a53068f5556f5648dfe522030983f552a1fd (diff)
downloadtor-96211bcf714ac739f605dc0b5b8754418080591f.tar.gz
tor-96211bcf714ac739f605dc0b5b8754418080591f.zip
Merge branch 'bug9321_rerebase'
Conflicts: src/or/dirvote.h src/test/include.am src/test/test_entrynodes.c
Diffstat (limited to 'src/or/dirvote.h')
-rw-r--r--src/or/dirvote.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/or/dirvote.h b/src/or/dirvote.h
index 20dcbcd5b6..542563b708 100644
--- a/src/or/dirvote.h
+++ b/src/or/dirvote.h
@@ -55,7 +55,7 @@
#define MIN_SUPPORTED_CONSENSUS_METHOD 13
/** The highest consensus method that we currently support. */
-#define MAX_SUPPORTED_CONSENSUS_METHOD 19
+#define MAX_SUPPORTED_CONSENSUS_METHOD 20
/** Lowest consensus method where microdesc consensuses omit any entry
* with no microdesc. */
@@ -82,8 +82,13 @@
/** Lowest consensus method where we include "package" lines*/
#define MIN_METHOD_FOR_PACKAGE_LINES 19
+/** Lowest consensus method where authorities may include
+ * GuardFraction information in microdescriptors. */
+#define MIN_METHOD_FOR_GUARDFRACTION 20
+
/** Default bandwidth to clip unmeasured bandwidths to using method >=
- * MIN_METHOD_TO_CLIP_UNMEASURED_BW */
+ * MIN_METHOD_TO_CLIP_UNMEASURED_BW. (This is not a consensus method; do not
+ * get confused with the above macros.) */
#define DEFAULT_MAX_UNMEASURED_BW_KB 20
void dirvote_free_all(void);