summaryrefslogtreecommitdiff
path: root/src/or/dirvote.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-10-24 22:34:55 -0400
committerNick Mathewson <nickm@torproject.org>2012-11-14 23:16:22 -0500
commit04ea55014182776871841279f6917d1a03c4e905 (patch)
tree478f061c1e4f57d24baf1e8bf731e85b8f6ad669 /src/or/dirvote.h
parentc53adac122e88dbd943febfdd1f3deeab9e8309a (diff)
downloadtor-04ea55014182776871841279f6917d1a03c4e905.tar.gz
tor-04ea55014182776871841279f6917d1a03c4e905.zip
Authorities put p6 lines into microdescriptors.
Diffstat (limited to 'src/or/dirvote.h')
-rw-r--r--src/or/dirvote.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/or/dirvote.h b/src/or/dirvote.h
index 04cf2f9710..d14a375161 100644
--- a/src/or/dirvote.h
+++ b/src/or/dirvote.h
@@ -20,7 +20,7 @@
#define MIN_VOTE_INTERVAL 300
/** The highest consensus method that we currently support. */
-#define MAX_SUPPORTED_CONSENSUS_METHOD 14
+#define MAX_SUPPORTED_CONSENSUS_METHOD 15
/** Lowest consensus method that contains a 'directory-footer' marker */
#define MIN_METHOD_FOR_FOOTER 9
@@ -45,6 +45,9 @@
/** Lowest consensus method that contains "a" lines. */
#define MIN_METHOD_FOR_A_LINES 14
+/** Lowest consensus method where microdescs may include a "p6" line. */
+#define MIN_METHOD_FOR_P6_LINES 15
+
void dirvote_free_all(void);
/* vote manipulation */