aboutsummaryrefslogtreecommitdiff
path: root/src/feature/dirauth/dirvote.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-12-05 09:43:03 -0500
committerNick Mathewson <nickm@torproject.org>2018-12-05 09:43:03 -0500
commit1eb3719a62074baef97ec1aa5c144096706fb97f (patch)
treec8d24bc3f30006bb9c213351afed69d2ba7ee210 /src/feature/dirauth/dirvote.h
parent1f95e80351cdb45de0994a0a3aba277267d41ad0 (diff)
parent05dee063c8d74437c792bdee2432293f97b6307c (diff)
downloadtor-1eb3719a62074baef97ec1aa5c144096706fb97f.tar.gz
tor-1eb3719a62074baef97ec1aa5c144096706fb97f.zip
Merge remote-tracking branch 'public/prop298'
Diffstat (limited to 'src/feature/dirauth/dirvote.h')
-rw-r--r--src/feature/dirauth/dirvote.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/feature/dirauth/dirvote.h b/src/feature/dirauth/dirvote.h
index f99cc2d2bf..85f4800700 100644
--- a/src/feature/dirauth/dirvote.h
+++ b/src/feature/dirauth/dirvote.h
@@ -57,7 +57,7 @@
#define MIN_SUPPORTED_CONSENSUS_METHOD 25
/** The highest consensus method that we currently support. */
-#define MAX_SUPPORTED_CONSENSUS_METHOD 28
+#define MAX_SUPPORTED_CONSENSUS_METHOD 29
/** Lowest consensus method where authorities vote on required/recommended
* protocols. */
@@ -79,6 +79,12 @@
* addresses. See #23828 and #20916. */
#define MIN_METHOD_FOR_NO_A_LINES_IN_MICRODESC 28
+/**
+ * Lowest consensus method where microdescriptor lines are put in canonical
+ * form for improved compressibility and ease of storage. See proposal 298.
+ **/
+#define MIN_METHOD_FOR_CANONICAL_FAMILIES_IN_MICRODESCS 29
+
/** 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.) */