summaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-09-12 13:56:36 -0400
committerNick Mathewson <nickm@torproject.org>2012-12-06 11:28:49 -0500
commita8d491a8fdfafe6e56924a19b5169c2eb9d3a66a (patch)
tree2eced68a20fe262b8a688a5592b07b1073339a3a /src/or/or.h
parent06cd62266f4ce15cf71692344df82b3260fedb89 (diff)
downloadtor-a8d491a8fdfafe6e56924a19b5169c2eb9d3a66a.tar.gz
tor-a8d491a8fdfafe6e56924a19b5169c2eb9d3a66a.zip
Add an option to weight down authorities when choosing a fallback
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h
index cbb437e86c..9f9316b988 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -3431,6 +3431,10 @@ typedef struct {
/** List of fallback directory servers */
config_line_t *FallbackDir;
+ /** Weight to apply to all directory authority rates if considering them
+ * along with fallbackdirs */
+ double DirAuthorityFallbackRate;
+
/** If set, use these main (currently v3) directory authorities and
* not the default ones. */
config_line_t *AlternateDirAuthority;