aboutsummaryrefslogtreecommitdiff
path: root/src/or/dirvote.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-08-15 18:11:26 -0400
committerNick Mathewson <nickm@torproject.org>2014-08-15 18:11:26 -0400
commitd38aa5545f07eedbf565700674e7d2add871db31 (patch)
tree13a539df545b7799c72371de4f75aac549db2240 /src/or/dirvote.h
parent908bd4cee3d3182093005a0d1f4b8aee0a76116e (diff)
downloadtor-d38aa5545f07eedbf565700674e7d2add871db31.tar.gz
tor-d38aa5545f07eedbf565700674e7d2add871db31.zip
Remove implementation code for all pre-13 consensus methods.
Also remove a test for the way that we generated parameter votes before consensus method 12.
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 92440ccbda..5eecc91d69 100644
--- a/src/or/dirvote.h
+++ b/src/or/dirvote.h
@@ -27,13 +27,6 @@
/** The highest consensus method that we currently support. */
#define MAX_SUPPORTED_CONSENSUS_METHOD 18
-/** Lowest consensus method that doesn't count bad exits as exits for weight */
-#define MIN_METHOD_TO_CUT_BADEXIT_WEIGHT 11
-
-/** Lowest consensus method that ensures a majority of authorities voted
- * for a param. */
-#define MIN_METHOD_FOR_MAJORITY_PARAMS 12
-
/** Lowest consensus method where microdesc consensuses omit any entry
* with no microdesc. */
#define MIN_METHOD_FOR_MANDATORY_MICRODESC 13