summaryrefslogtreecommitdiff
path: root/src/or/dirvote.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-04-09 14:44:03 -0400
committerNick Mathewson <nickm@torproject.org>2018-04-22 20:00:47 -0400
commit08373467b10a3e3c4765835d1820f86741b9f307 (patch)
tree39a2e2e01c4d5bd290009137c22e34292f5e4833 /src/or/dirvote.h
parent69347f48e00ae31222ce10d66c507293954e4fcc (diff)
downloadtor-08373467b10a3e3c4765835d1820f86741b9f307.tar.gz
tor-08373467b10a3e3c4765835d1820f86741b9f307.zip
Remove MIN_METHOD_FOR and MIN_METHOD_FOR_A_LINES
Also, in networkstatus.c, remove client code for recognizing pre- MIN_METHOD_FOR_A_LINES consensuses, and corresponding unit tests in test_dir.c.
Diffstat (limited to 'src/or/dirvote.h')
-rw-r--r--src/or/dirvote.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/or/dirvote.h b/src/or/dirvote.h
index 91da4edeef..9c7916a9be 100644
--- a/src/or/dirvote.h
+++ b/src/or/dirvote.h
@@ -61,13 +61,6 @@
/** The highest consensus method that we currently support. */
#define MAX_SUPPORTED_CONSENSUS_METHOD 28
-/** Lowest consensus method where microdesc consensuses omit any entry
- * with no microdesc. */
-#define MIN_METHOD_FOR_MANDATORY_MICRODESC 13
-
-/** 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