From 651e49713c38b8ec2bde285001e46b61c500d10c Mon Sep 17 00:00:00 2001 From: Mike Perry Date: Tue, 26 Mar 2013 14:15:58 -0700 Subject: Bug 8419: Apply the badexit fix from #2203 to validatio too This was causing dirauths to emit flag weight validation warns if there was a sufficiently large amount of badexit bandwidth to make a difference in flag weight results. --- src/or/dirvote.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/or/dirvote.h') diff --git a/src/or/dirvote.h b/src/or/dirvote.h index fbb61b652f..8d036d6c14 100644 --- a/src/or/dirvote.h +++ b/src/or/dirvote.h @@ -34,6 +34,9 @@ /** Lowest consensus method that generates microdescriptors */ #define MIN_METHOD_FOR_MICRODESC 8 +/** 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 -- cgit v1.2.3-54-g00ecf