diff options
author | teor <teor@torproject.org> | 2019-10-29 00:34:33 +1000 |
---|---|---|
committer | teor <teor@torproject.org> | 2019-10-31 12:34:19 +1000 |
commit | f70633d72db303376423ab427160ddca912e0a6b (patch) | |
tree | 78cacb29b877c39c5b75857659f1dbc50ac40826 /src/feature | |
parent | 3881ac2c8655c56f9451ad33c6ea297559ad9279 (diff) | |
download | tor-f70633d72db303376423ab427160ddca912e0a6b.tar.gz tor-f70633d72db303376423ab427160ddca912e0a6b.zip |
dirauth: Remove some outdated config comments
Part of 32213.
Diffstat (limited to 'src/feature')
-rw-r--r-- | src/feature/dirauth/dirauth_config.c | 22 |
1 files changed, 2 insertions, 20 deletions
diff --git a/src/feature/dirauth/dirauth_config.c b/src/feature/dirauth/dirauth_config.c index 13700a31b0..56a71e950d 100644 --- a/src/feature/dirauth/dirauth_config.c +++ b/src/feature/dirauth/dirauth_config.c @@ -142,26 +142,8 @@ options_validate_dirauth_schedule(const or_options_t *old_options, if (options->V3AuthVoteDelay + options->V3AuthDistDelay >= options->V3AuthVotingInterval/2) { - /* - This doesn't work, but it seems like it should: - what code is preventing the interval being less than twice the lead-up? - if (options->TestingTorNetwork) { - if (options->V3AuthVoteDelay + options->V3AuthDistDelay >= - options->V3AuthVotingInterval) { - REJECT("V3AuthVoteDelay plus V3AuthDistDelay must be less than " - "V3AuthVotingInterval"); - } else { - COMPLAIN("V3AuthVoteDelay plus V3AuthDistDelay is more than half " - "V3AuthVotingInterval. This may lead to " - "consensus instability, particularly if clocks drift."); - } - } else { - */ - REJECT("V3AuthVoteDelay plus V3AuthDistDelay must be less than half " - "V3AuthVotingInterval"); - /* - } - */ + REJECT("V3AuthVoteDelay plus V3AuthDistDelay must be less than half " + "V3AuthVotingInterval"); } if (options->V3AuthVoteDelay < MIN_VOTE_SECONDS) { |