summaryrefslogtreecommitdiff
path: root/src/feature/dirauth/dirauth_options.inc
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-12-19 10:00:25 -0500
committerNick Mathewson <nickm@torproject.org>2019-12-19 10:08:22 -0500
commitcde5abfdc6381e618f9649dd00f74d91d65848d7 (patch)
tree53dcc2493f7f437ef495c1a19f1ab3da9fea4bf1 /src/feature/dirauth/dirauth_options.inc
parentbe9bc5981f21a73508e32207fd197b513a6f01be (diff)
downloadtor-cde5abfdc6381e618f9649dd00f74d91d65848d7.tar.gz
tor-cde5abfdc6381e618f9649dd00f74d91d65848d7.zip
Move TestingDirAuthTimeToLearnReachability into dirauth module.
Diffstat (limited to 'src/feature/dirauth/dirauth_options.inc')
-rw-r--r--src/feature/dirauth/dirauth_options.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/feature/dirauth/dirauth_options.inc b/src/feature/dirauth/dirauth_options.inc
index d5ae09cf27..e1550a6e90 100644
--- a/src/feature/dirauth/dirauth_options.inc
+++ b/src/feature/dirauth/dirauth_options.inc
@@ -65,6 +65,11 @@ CONF_VAR(RecommendedClientVersions, LINELIST, 0, NULL)
/** Which versions of tor should we tell users to run on relays? */
CONF_VAR(RecommendedServerVersions, LINELIST, 0, NULL)
+/** If an authority has been around for less than this amount of time, it
+ * does not believe its reachability information is accurate. Only
+ * altered on testing networks. */
+CONF_VAR(TestingAuthDirTimeToLearnReachability, INTERVAL, 0, "30 minutes")
+
/** Boolean: is this an authoritative directory that's willing to recommend
* versions? */
CONF_VAR(VersioningAuthoritativeDirectory, BOOL, 0, "0")