aboutsummaryrefslogtreecommitdiff
path: root/src/or/dirvote.h
diff options
context:
space:
mode:
authorteor <teor2345@gmail.com>2017-10-15 12:10:51 -0400
committerteor <teor2345@gmail.com>2017-10-15 12:31:06 -0400
commit56dbba32079484d88016bd34de04122457dbdd89 (patch)
tree623e4031a59fd943c95379bceb065322adadcdab /src/or/dirvote.h
parentb8d4588c90d399b4b4487dfbacfdbe6dd415aac4 (diff)
downloadtor-56dbba32079484d88016bd34de04122457dbdd89.tar.gz
tor-56dbba32079484d88016bd34de04122457dbdd89.zip
Add a consensus method for IPv6 address lines in the microdesc consensus
Implements #23826.
Diffstat (limited to 'src/or/dirvote.h')
-rw-r--r--src/or/dirvote.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/or/dirvote.h b/src/or/dirvote.h
index ddf32277d0..b3838eee94 100644
--- a/src/or/dirvote.h
+++ b/src/or/dirvote.h
@@ -59,7 +59,7 @@
#define MIN_SUPPORTED_CONSENSUS_METHOD 13
/** The highest consensus method that we currently support. */
-#define MAX_SUPPORTED_CONSENSUS_METHOD 26
+#define MAX_SUPPORTED_CONSENSUS_METHOD 27
/** Lowest consensus method where microdesc consensuses omit any entry
* with no microdesc. */
@@ -119,6 +119,10 @@
* instead of 0. See #14881 */
#define MIN_METHOD_FOR_INIT_BW_WEIGHTS_ONE 26
+/** Lowest consensus method where the microdesc consensus contains relay IPv6
+ * addresses. See #23826 and #20916. */
+#define MIN_METHOD_FOR_A_LINES_IN_MICRODESC_CONSENSUS 27
+
/** Default bandwidth to clip unmeasured bandwidths to using method >=
* MIN_METHOD_TO_CLIP_UNMEASURED_BW. (This is not a consensus method; do not
* get confused with the above macros.) */