diff options
author | Nick Mathewson <nickm@torproject.org> | 2019-12-19 10:42:44 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2019-12-19 10:42:44 -0500 |
commit | 3210598c30c46ea0f192a20d96e2f10f481c2366 (patch) | |
tree | 2a2f2d708867930ffc56235a2a3a9736b09d03cb /src/app/config | |
parent | 87f7c2d01817913b3fcf36a3025c55feef13612c (diff) | |
download | tor-3210598c30c46ea0f192a20d96e2f10f481c2366.tar.gz tor-3210598c30c46ea0f192a20d96e2f10f481c2366.zip |
Move TestingDirVote{Exit,Guard,HSdir}{,IsStrict} to dirauth module
Diffstat (limited to 'src/app/config')
-rw-r--r-- | src/app/config/config.c | 6 | ||||
-rw-r--r-- | src/app/config/or_options_st.h | 15 |
2 files changed, 0 insertions, 21 deletions
diff --git a/src/app/config/config.c b/src/app/config/config.c index 81e5e6a8ed..1bfb41f48f 100644 --- a/src/app/config/config.c +++ b/src/app/config/config.c @@ -752,12 +752,6 @@ static const config_var_t option_vars_[] = { OBSOLETE("TestingDescriptorMaxDownloadTries"), OBSOLETE("TestingMicrodescMaxDownloadTries"), OBSOLETE("TestingCertMaxDownloadTries"), - V_D(TestingDirAuthVoteExit, ROUTERSET, NULL), - V(TestingDirAuthVoteExitIsStrict, BOOL, "0"), - V_D(TestingDirAuthVoteGuard, ROUTERSET, NULL), - V(TestingDirAuthVoteGuardIsStrict, BOOL, "0"), - V_D(TestingDirAuthVoteHSDir, ROUTERSET, NULL), - V(TestingDirAuthVoteHSDirIsStrict, BOOL, "0"), VAR_INVIS("___UsingTestNetworkDefaults", BOOL, UsingTestNetworkDefaults_, "0"), diff --git a/src/app/config/or_options_st.h b/src/app/config/or_options_st.h index f9aa0e5cd0..0e6e825854 100644 --- a/src/app/config/or_options_st.h +++ b/src/app/config/or_options_st.h @@ -764,21 +764,6 @@ struct or_options_t { * of certain configuration options. */ int TestingTorNetwork; - /** Relays in a testing network which should be voted Exit - * regardless of exit policy. */ - routerset_t *TestingDirAuthVoteExit; - int TestingDirAuthVoteExitIsStrict; - - /** Relays in a testing network which should be voted Guard - * regardless of uptime and bandwidth. */ - routerset_t *TestingDirAuthVoteGuard; - int TestingDirAuthVoteGuardIsStrict; - - /** Relays in a testing network which should be voted HSDir - * regardless of uptime and DirPort. */ - routerset_t *TestingDirAuthVoteHSDir; - int TestingDirAuthVoteHSDirIsStrict; - /** Enable CONN_BW events. Only altered on testing networks. */ int TestingEnableConnBwEvent; |