From a5a4640a9544d20455efe96bc99a10e16c648eba Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Thu, 8 Dec 2016 10:07:24 -0500 Subject: 271: Lower MAX_SAMPLE_THRESHOLD; add MAX_SAMPLE_SIZE Specified fix for #20920 --- proposals/271-another-guard-selection.txt | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'proposals/271-another-guard-selection.txt') diff --git a/proposals/271-another-guard-selection.txt b/proposals/271-another-guard-selection.txt index 87ba960..4da79ed 100644 --- a/proposals/271-another-guard-selection.txt +++ b/proposals/271-another-guard-selection.txt @@ -203,8 +203,9 @@ Status: Open We require that {SAMPLED_GUARDS} contain at least {MIN_FILTERED_SAMPLE} guards from the consensus (if possible), but not more than {MAX_SAMPLE_THRESHOLD} of the number of guards - in the consensus. (But if the maximum would be smaller than - {MIN_FILTERED_SAMPLE}, we set the maximum at {MIN_FILTERED_SAMPLE}.) + in the consensus, and not more then {MAX_SAMPLE_SIZE} in total. + (But if the maximum would be smaller than {MIN_FILTERED_SAMPLE}, we + set the maximum at {MIN_FILTERED_SAMPLE}.) To add a new guard to {SAMPLED_GUARDS}, pick an entry at random from ({GUARDS} - {SAMPLED_GUARDS}), weighted by bandwidth. @@ -601,7 +602,9 @@ A.1. Parameters with suggested values. [Section:PARAM_VALS] (All suggested values chosen arbitrarily) - {param:MAX_SAMPLE_THRESHOLD} -- 30% + {param:MAX_SAMPLE_THRESHOLD} -- 20% + + {param:MAX_SAMPLE_SIZE} -- 60 {param:GUARD_LIFETIME} -- 120 days -- cgit v1.2.3-54-g00ecf