aboutsummaryrefslogtreecommitdiff
path: root/path-spec.txt
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2014-11-25 00:11:43 +0000
committerNick Mathewson <nickm@torproject.org>2014-11-26 09:03:50 -0500
commitb5b771b19df9fc052b424228045409467a7b6414 (patch)
tree26fcec251b57a2ce7f8a5898accf5dd81034b706 /path-spec.txt
parenta35a97123e9a3e6b8c455c34b8e86e3201aeba96 (diff)
downloadtorspec-b5b771b19df9fc052b424228045409467a7b6414.tar.gz
torspec-b5b771b19df9fc052b424228045409467a7b6414.zip
Set default value for bw weights if absent from consensus.
Diffstat (limited to 'path-spec.txt')
-rw-r--r--path-spec.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/path-spec.txt b/path-spec.txt
index 9575d25..f3c7c9f 100644
--- a/path-spec.txt
+++ b/path-spec.txt
@@ -209,7 +209,7 @@ of their choices.
position they are being selected for.
These weights are published in the consensus, and are computed as described
- in Section 3.4.3 of dir-spec.txt. They are:
+ in Section "Computing Bandwidth Weights" of dir-spec.txt. They are:
Wgg - Weight for Guard-flagged nodes in the guard position
Wgm - Weight for non-flagged nodes in the guard Position
@@ -235,6 +235,10 @@ of their choices.
Wbe - Weight for Guard+Exit-flagged nodes for BEGIN_DIR requests
Wbd - Weight for Guard+Exit-flagged nodes for BEGIN_DIR requests
+ If any of those weights is malformed or not present in a consensus,
+ clients proceed with the regular path selection algorithm setting
+ the weights to the default value of 10000.
+
Additionally, we may be building circuits with one or more requests in
mind. Each kind of request puts certain constraints on paths: