summaryrefslogtreecommitdiff
path: root/src/or/dirvote.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-10-08 11:33:59 -0400
committerNick Mathewson <nickm@torproject.org>2015-05-28 10:41:49 -0400
commit24b720a984cc6c05ebc51d0c699a36119c518ee4 (patch)
tree26c12564c8e378fd059de9eabf96dd18d050fe01 /src/or/dirvote.h
parent006b7ce5ff2a90a517e2842fcdd716ed60a90f14 (diff)
downloadtor-24b720a984cc6c05ebc51d0c699a36119c518ee4.tar.gz
tor-24b720a984cc6c05ebc51d0c699a36119c518ee4.zip
Include ed25519 keys in microdescriptors.
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 542563b708..edd5751090 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 20
+#define MAX_SUPPORTED_CONSENSUS_METHOD 21
/** Lowest consensus method where microdesc consensuses omit any entry
* with no microdesc. */
@@ -86,6 +86,10 @@
* GuardFraction information in microdescriptors. */
#define MIN_METHOD_FOR_GUARDFRACTION 20
+/** Lowest consensus method where authorities may include an "id" line for
+ * ed25519 identities in microdescriptors. */
+#define MIN_METHOD_FOR_ED25519_ID_IN_MD 21
+
/** 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.) */