summaryrefslogtreecommitdiff
path: root/src/feature/dirauth/voting_schedule.h
AgeCommit message (Collapse)Author
2020-03-03Make voting_schedule.h work correctly when dirauth-mode is disabled.Nick Mathewson
2020-03-03Stop using all dirauth-only options in shared_random_client.cNick Mathewson
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.
2020-02-24Dirauth-specific function to get voting interval.Nick Mathewson
2020-02-24Rename voting_schedule_*() functions.Nick Mathewson
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
2020-02-24Move one voting schedule fn into networkstatus.cNick Mathewson
The 'voting_schdule_get_start_of_next_interval' function isn't actually dirauth-specific.
2020-02-24Move voting_schedule.[ch] to src/feature/dirauth/Nick Mathewson