aboutsummaryrefslogtreecommitdiff
path: root/path-spec.txt
diff options
context:
space:
mode:
authorMike Perry <mikeperry-git@fscked.org>2010-05-08 11:54:29 -0700
committerMike Perry <mikeperry-git@fscked.org>2010-05-10 13:11:48 -0700
commit14d8e2a8a051a43793ea60cee722118d362ef375 (patch)
tree167bbe3e88fa6e8f1997d3c851fa0b12638e8f73 /path-spec.txt
parent2ad5819a734f8dded49de66d6664885bf63bad0c (diff)
downloadtorspec-14d8e2a8a051a43793ea60cee722118d362ef375.tar.gz
torspec-14d8e2a8a051a43793ea60cee722118d362ef375.zip
Bug 1296: Add option+logic to disable CBT learning.
There are now four ways that CBT can be disabled: 1. Network-wide, with the cbtdisabled consensus param. 2. Via config, with "LearnCircuitBuildTimeout 0" 3. Via config, with "AuthoritativeDirectory 1" 4. Via a state file write failure.
Diffstat (limited to 'path-spec.txt')
-rw-r--r--path-spec.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/path-spec.txt b/path-spec.txt
index ae5ab3e..2beeede 100644
--- a/path-spec.txt
+++ b/path-spec.txt
@@ -382,6 +382,12 @@ of their choices.
construction. If these parameters are not present in the consensus,
the listed default values should be used instead.
+ cbtdisabled
+ Default: 0
+ Effect: If non-zero, all CircuitBuildTime learning code should be
+ disabled and history should be discarded. For use in
+ emergency situations only.
+
cbtrecentcount
Default: 20
Effect: This is the number of circuit build times to keep track of