summaryrefslogtreecommitdiff
path: root/src/feature/dirauth/dirauth_options.inc
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-12-19 09:51:11 -0500
committerNick Mathewson <nickm@torproject.org>2019-12-19 09:51:11 -0500
commitbe9bc5981f21a73508e32207fd197b513a6f01be (patch)
tree5fbfcc8772ac42da06b0edc930d7a3b984326fe4 /src/feature/dirauth/dirauth_options.inc
parent0c7fd8312341b349f93e97c915234b18d0d014ca (diff)
downloadtor-be9bc5981f21a73508e32207fd197b513a6f01be.tar.gz
tor-be9bc5981f21a73508e32207fd197b513a6f01be.zip
Move MinMeasuredBWsForAuthToIgnoreAdvertised to dirauth module.
Diffstat (limited to 'src/feature/dirauth/dirauth_options.inc')
-rw-r--r--src/feature/dirauth/dirauth_options.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/feature/dirauth/dirauth_options.inc b/src/feature/dirauth/dirauth_options.inc
index f3d8e35b35..d5ae09cf27 100644
--- a/src/feature/dirauth/dirauth_options.inc
+++ b/src/feature/dirauth/dirauth_options.inc
@@ -48,6 +48,10 @@ CONF_VAR(AuthDirTestEd25519LinkKeys, BOOL, 0, "1")
* consensus vote on the 'params' line. */
CONF_VAR(ConsensusParams, STRING, 0, NULL)
+/** Authority only: minimum number of measured bandwidths we must see
+ * before we only believe measured bandwidths to assign flags. */
+CONF_VAR(MinMeasuredBWsForAuthToIgnoreAdvertised, INT, 0, "500")
+
/** As directory authority, accept hidden service directories after what
* time? */
CONF_VAR(MinUptimeHidServDirectoryV2, INTERVAL, 0, "96 hours")