diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-08-26 14:14:34 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-08-26 14:14:34 -0400 |
commit | 9b9fb63276c892690d57ce5598e2e577d7e5ad9f (patch) | |
tree | 08d04e1f26cde9522e8e2ef9d1e2c15c25442a2f /src/or/dirvote.h | |
parent | 8fe410e875343a4c134ddbe0db6da3d38865deee (diff) | |
download | tor-9b9fb63276c892690d57ce5598e2e577d7e5ad9f.tar.gz tor-9b9fb63276c892690d57ce5598e2e577d7e5ad9f.zip |
prop272: When voting, include no non-Valid relays in consensus
Implements ticket 20002, and part of proposal 272.
Diffstat (limited to 'src/or/dirvote.h')
-rw-r--r-- | src/or/dirvote.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/or/dirvote.h b/src/or/dirvote.h index a1f71ce4bb..06bfe671bd 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 23 +#define MAX_SUPPORTED_CONSENSUS_METHOD 24 /** Lowest consensus method where microdesc consensuses omit any entry * with no microdesc. */ @@ -99,6 +99,10 @@ * value(s). */ #define MIN_METHOD_FOR_SHARED_RANDOM 23 +/** Lowest consensus method where authorities drop all nodes that don't get + * the Valid flag. */ +#define MIN_METHOD_FOR_EXCLUDING_INVALID_NODES 24 + /** 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.) */ |