diff options
author | George Kadianakis <desnacked@riseup.net> | 2015-01-29 14:59:48 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-02-18 09:09:33 -0500 |
commit | db805b91708c02e9b2b4d0c25ec17a45e81929aa (patch) | |
tree | 54efd8e188488763056e5cea0947a0f2f9b94ccf /src/or/dirvote.h | |
parent | 7ddfb6aa2f3779da8bacd0574f152f558a5a508e (diff) | |
download | tor-db805b91708c02e9b2b4d0c25ec17a45e81929aa.tar.gz tor-db805b91708c02e9b2b4d0c25ec17a45e81929aa.zip |
Write GuardFraction information to consensus.
If we've seen enough votes with guardfraction information, write down
the GuardFraction string in the consensus.
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 8908336fa1..f5ecdaff79 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 18 +#define MAX_SUPPORTED_CONSENSUS_METHOD 19 /** Lowest consensus method where microdesc consensuses omit any entry * with no microdesc. */ @@ -79,6 +79,10 @@ * microdescriptors. */ #define MIN_METHOD_FOR_ID_HASH_IN_MD 18 +/** Lowest consensus method where authorities may include + * GuardFraction information in microdescriptors. */ +#define MIN_METHOD_FOR_GUARDFRACTION 19 + /** Default bandwidth to clip unmeasured bandwidths to using method >= * MIN_METHOD_TO_CLIP_UNMEASURED_BW */ #define DEFAULT_MAX_UNMEASURED_BW_KB 20 |