summaryrefslogtreecommitdiff
path: root/src/feature/dirauth/dirauth_options.inc
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-12-19 09:34:27 -0500
committerNick Mathewson <nickm@torproject.org>2019-12-19 09:34:27 -0500
commitf4f70e1f13bc66558926b3255a8783e3bdca5f66 (patch)
tree064c7cdbc05b03f63f2066f531c06eb48528f8f5 /src/feature/dirauth/dirauth_options.inc
parent99874ecc1de43756bc5ba7f92ef8073e5d5b3c72 (diff)
downloadtor-f4f70e1f13bc66558926b3255a8783e3bdca5f66.tar.gz
tor-f4f70e1f13bc66558926b3255a8783e3bdca5f66.zip
Move AuthDirSharedRandomness to dirauth module.
Diffstat (limited to 'src/feature/dirauth/dirauth_options.inc')
-rw-r--r--src/feature/dirauth/dirauth_options.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/feature/dirauth/dirauth_options.inc b/src/feature/dirauth/dirauth_options.inc
index dddb538981..ec4d997f9f 100644
--- a/src/feature/dirauth/dirauth_options.inc
+++ b/src/feature/dirauth/dirauth_options.inc
@@ -33,6 +33,12 @@ CONF_VAR(AuthDirMaxServersPerAddr, POSINT, 0, "2")
/** Boolean: Do we enforce key-pinning? */
CONF_VAR(AuthDirPinKeys, BOOL, 0, "1")
+/** Bool (default: 1): Switch for the shared random protocol. Only
+ * relevant to a directory authority. If off, the authority won't
+ * participate in the protocol. If on (default), a flag is added to the
+ * vote indicating participation. */
+CONF_VAR(AuthDirSharedRandomness, BOOL, 0, "1")
+
/** Which versions of tor should we tell users to run? */
CONF_VAR(RecommendedVersions, LINELIST, 0, NULL)