summaryrefslogtreecommitdiff
path: root/src/or/dirvote.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-08-25 14:24:34 -0400
committerNick Mathewson <nickm@torproject.org>2016-09-26 10:56:51 -0700
commita3e82563df3b549a36a49a4efdb2f1aeef0e0b07 (patch)
tree2dc5d87feaf5752f7159badb7996ab8be70a70d1 /src/or/dirvote.h
parent84f913024d9ad87f676793367b54e6f95be05eda (diff)
downloadtor-a3e82563df3b549a36a49a4efdb2f1aeef0e0b07.tar.gz
tor-a3e82563df3b549a36a49a4efdb2f1aeef0e0b07.zip
Implement voting on the protocol-version options
Diffstat (limited to 'src/or/dirvote.h')
-rw-r--r--src/or/dirvote.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/or/dirvote.h b/src/or/dirvote.h
index a1f71ce4bb..f29fe97f26 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 23
+#define MAX_SUPPORTED_CONSENSUS_METHOD 24
/** Lowest consensus method where microdesc consensuses omit any entry
* with no microdesc. */
@@ -99,6 +99,16 @@
* value(s). */
#define MIN_METHOD_FOR_SHARED_RANDOM 23
+/** Lowest consensus method where authorities vote on required/recommended
+ * protocols. */
+#define MIN_METHOD_FOR_RECOMMENDED_PROTOCOLS 24
+
+#if 0
+/** Lowest consensus method where authorities add protocols to routerstatus
+ * entries. */
+#define MIN_METHOD_FOR_RS_PROTOCOLS 24
+#endif
+
/** 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.) */