module: Improve dirauth module by extracting more code
After #25610 (moved), we've identified items to pursue as a second milestone in the dirauth modularization effort.
One of these is to start extracting dirauth specific code from directory.c
, dirserv.c
and networkstatus.c
which have a lot of things that are dirauth only. Basically, everything that handles vote document should be extracted into the dirauth module, among other things.
The trick is to start looking at NS_TYPE_VOTE
and authdir_mode_v3()
to find which part are dirauth only.