From 909ee0e55fa7f03b8b85bc220ba11d91cb495d06 Mon Sep 17 00:00:00 2001 From: Matt Traudt Date: Tue, 6 Sep 2016 12:09:13 -0400 Subject: Fix default bw weights with new consensus method See #14881 --- src/or/dirvote.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/or/dirvote.h') diff --git a/src/or/dirvote.h b/src/or/dirvote.h index efd233ef5f..334734654a 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 25 +#define MAX_SUPPORTED_CONSENSUS_METHOD 26 /** Lowest consensus method where microdesc consensuses omit any entry * with no microdesc. */ @@ -111,6 +111,10 @@ * entries. */ #define MIN_METHOD_FOR_RS_PROTOCOLS 25 +/** Lowest consensus method where authorities initialize bandwidth weights to 1 + * instead of 0. See #14881 */ +#define MIN_METHOD_FOR_INIT_BW_WEIGHTS_ONE 26 + /** 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.) */ -- cgit v1.2.3-54-g00ecf