aboutsummaryrefslogtreecommitdiff
path: root/src/feature/dirauth/voteflags.h
AgeCommit message (Collapse)Author
2021-03-12Update copyrights to 2021, using "make update-copyright"Nick Mathewson
2020-01-08It's 2020. Update the copyright dates with "make update-copyright"Nick Mathewson
2019-06-05Run "make autostyle."Nick Mathewson
2019-05-02Move voteflags.[ch] to become dirauth only.Nick Mathewson
For various reasons, this was a nontrivial movement. There are several places in the code where we do something like "update the flags on this routerstatus or node if we're an authority", and at least one where we pretended to be an authority when we weren't.
2019-04-11Move code for setting bridges as running to voteflags.cNeel Chauhan
2019-01-16Bump copyright date to 2019Nick Mathewson
2018-12-03Make input argument const in set_routerstatus_from_routerinfo.Nick Mathewson
2018-11-25Vote on the StaleDesc flag from prop293Nick Mathewson
The StaleDesc flag tells relays that they need to upload a new descriptor soon, or they will drop out of the consensus.
2018-09-20Split most of dirserv.c into several new modulesNick Mathewson
In dirauth: * bwauth.c reads and uses bandwidth files * guardfraction.c reads and uses the guardfraction file * reachability.c tests relay reachability * recommend_pkg.c handles the recommended-packages lines. * recv_descs.c handles fingerprint files and processing incoming routerinfos that relays upload to us * voteflag.c computes flag thresholds and sets those thresholds on routerstatuses when computing votes In control: * fmt_serverstatus.c generates the ancient "v1 server status" format that controllers expect. In nodelist: * routerstatus_fmt.c formats routerstatus entries for a consensus, a vote, or for the controller.