aboutsummaryrefslogtreecommitdiff
path: root/proposals/271-another-guard-selection.txt
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-12-08 10:07:24 -0500
committerNick Mathewson <nickm@torproject.org>2016-12-08 10:07:39 -0500
commita5a4640a9544d20455efe96bc99a10e16c648eba (patch)
treefb1f1c676ad1d9a9eb48bcf6d31e151e5706d75d /proposals/271-another-guard-selection.txt
parentbfb33ffd88ad24452bed9b53975249c05bf72b2f (diff)
downloadtorspec-a5a4640a9544d20455efe96bc99a10e16c648eba.tar.gz
torspec-a5a4640a9544d20455efe96bc99a10e16c648eba.zip
271: Lower MAX_SAMPLE_THRESHOLD; add MAX_SAMPLE_SIZE
Specified fix for #20920
Diffstat (limited to 'proposals/271-another-guard-selection.txt')
-rw-r--r--proposals/271-another-guard-selection.txt9
1 files changed, 6 insertions, 3 deletions
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