summaryrefslogtreecommitdiff
path: root/src/or/dirvote.h
diff options
context:
space:
mode:
authorteor <teor2345@gmail.com>2017-10-15 12:31:39 -0400
committerteor <teor2345@gmail.com>2017-10-15 12:31:39 -0400
commit67eeee0c713caccf8e2b4114e7ea22c083ec0cb3 (patch)
tree73253b08636f509ddfdf187b84b5e39afc125c5c /src/or/dirvote.h
parent56dbba32079484d88016bd34de04122457dbdd89 (diff)
downloadtor-67eeee0c713caccf8e2b4114e7ea22c083ec0cb3.tar.gz
tor-67eeee0c713caccf8e2b4114e7ea22c083ec0cb3.zip
Add a new consensus method that removes IPv6 address lines from microdescs
Implements #23828.
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 b3838eee94..5a4cef7b91 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 27
+#define MAX_SUPPORTED_CONSENSUS_METHOD 28
/** Lowest consensus method where microdesc consensuses omit any entry
* with no microdesc. */
@@ -123,6 +123,10 @@
* addresses. See #23826 and #20916. */
#define MIN_METHOD_FOR_A_LINES_IN_MICRODESC_CONSENSUS 27
+/** Lowest consensus method where microdescriptors do not contain relay IPv6
+ * addresses. See #23828 and #20916. */
+#define MIN_METHOD_FOR_NO_A_LINES_IN_MICRODESC 28
+
/** 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.) */