- Mar 09, 2020
-
-
Nick Mathewson authored
This reverts commit a63b4148. The "typo" wasn't actually a typo. The "r" in the suffixes for the release branches is meant to make them distinct from the maint branches. Now, _right now_, nothing uses release branch suffixes, but it's important to keep them distinct if we decide to use them in the future.
-
- Mar 05, 2020
-
-
David Goulet authored
-
rl1987 authored
Also, fix a typo.
-
David Goulet authored
Signed-off-by:
David Goulet <dgoulet@torproject.org>
-
David Goulet authored
-
-
This will be used for 32121
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
- Mar 04, 2020
-
-
Roger Dingledine authored
Fixes bug 33531; bugfix on 0.3.3.1-alpha.
-
- Mar 03, 2020
-
-
George Kadianakis authored
-
Nick Mathewson authored
In this case, when we're looking for the voting interval, we should try looking at the _latest_ consensus if we have one. When we're looking for the start of the current voting period, we can use our existing fallback logic without complaint, since the voting interval code will already have given us a reasonable voting interval, and we want to have a round starting time based on the current time.
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
This is not as clean a patch as I would like: see the comment on ASSUME_AUTHORITY_SCHEDULING. This issue here is that the unit tests sometimes assume that we are going to be looking at the dirauth options and behaving like a dirauth, but without setting the options to turn is into one. This isn't an issue for actually running Tor, as far as I can tell with chutney.
-
- Feb 26, 2020
-
-
Neel Chauhan authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
This should improve the usability of our configuration error messages.
-
Nick Mathewson authored
Part of 33460.
-
Nick Mathewson authored
Part of 33460.
-
- Feb 25, 2020
-
-
Nick Mathewson authored
-
- Feb 24, 2020
-
-
Nick Mathewson authored
-
Nick Mathewson authored
Most of this function was about recreating a voting schedule on demand if it didn't exist yet or was not up-to-date. I've made that into its own function.
-
Nick Mathewson authored
This is an automated commit, generated by this command: ./scripts/maint/rename_c_identifier.py \ voting_schedule_recalculate_timing dirauth_sched_recalculate_timing \ voting_schedule_get_start_of_next_interval voting_sched_get_start_of_interval_after \ voting_schedule_get_next_valid_after_time dirauth_sched_get_next_valid_after_time
-
Nick Mathewson authored
The 'voting_schdule_get_start_of_next_interval' function isn't actually dirauth-specific.
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
Process uses evloop, and so should be initialized after it.
-
Nick Mathewson authored
Pubsub events are not supposed to have their own subsystems; they're supposed to be part of a parent subsystem.
-
Nick Mathewson authored
Previously we had initialized only the library subsystems. This made it hard to write some tests, and encouraged people to put their subsystems at a level lower than they really belonged at. Instead, it probably just makes sense to initialize everything before we start the tests. Without this fix, 33316 breaks our tests because of raising the level of the ocirc/orconn events.
-
Nick Mathewson authored
-
Nick Mathewson authored
This code was in our process module, but it doesn't belong there: process is for launching and monitoring subprocesses, not for hardening the current process. This change lets us have our subsystem init order more closely match our dependency order.
-
Nick Mathewson authored
-