tor/src/feature/hs_common
George Kadianakis d0be2ae7f9 Extend get_voting_interval() so that it's callable by relays.
In the past, only authorities and clients had to use that function because of
the SRV subsystem. However, because of its use in rep_hist_hs_stats_init() it
will now also be used by relays when bootstrapping without a consensus. Make it
do something sensible.

Another approach (instead of using magic values) would be to wait
initialization of HSv3 stats until we get a consensus but that seems messy to
schedule.

Another approach would be to make dirauth_sched_get_configured_interval() also
work for relays (particularly when TestingNetwork is enabled), but that also
seems a good amount of work.
2020-11-03 11:12:17 +02:00
..
.may_include practracker: Add missing .may_include files 2019-12-04 12:15:22 -05:00
feature_hs_common.md Doxygen: rename all .dox files to end with .md 2019-11-15 09:28:12 -05:00
include.am Split core/include.am into per-subdirectory include.am files 2020-01-13 09:34:17 -05:00
replaycache.c It's 2020. Update the copyright dates with "make update-copyright" 2020-01-08 18:39:17 -05:00
replaycache.h It's 2020. Update the copyright dates with "make update-copyright" 2020-01-08 18:39:17 -05:00
shared_random_client.c Extend get_voting_interval() so that it's callable by relays. 2020-11-03 11:12:17 +02:00
shared_random_client.h Stop using all dirauth-only options in shared_random_client.c 2020-03-03 14:35:01 +02:00