[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #22311 [Core Tor/Tor]: authdir_mode_any_nonhidserv() is an obsolete concept
#22311: authdir_mode_any_nonhidserv() is an obsolete concept
------------------------------+------------------
Reporter: arma | Owner:
Type: defect | Status: new
Priority: Medium | Milestone:
Component: Core Tor/Tor | Version:
Severity: Normal | Keywords: easy
Actual Points: | Parent ID:
Points: | Reviewer:
Sponsor: |
------------------------------+------------------
{{{
/** Return true if we believe ourselves to be any kind of
* authoritative directory beyond just a hidserv authority. */
int
authdir_mode_any_nonhidserv(const or_options_t *options)
}}}
This phrase "hidserv authority" is from back in the days of v1 directory
authorities, where there were 3 central authorities that collected and
served all the hidden service descriptors.
Those days are gone, so references to a hidserv authority no longer make
sense.
In particular, I think there are now only two types of directory
authorities -- bridge authorities and main authorities. So this function
could be replaced with just authdir_mode(). I'm marking it as 'easy' since
it's a good one for a newbie to grab.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/22311>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs