aboutsummaryrefslogtreecommitdiff
path: root/src/or/dirserv.h
Commit message (Expand)AuthorAge
* Merge branch 'bug911'Nick Mathewson2010-09-14
|\
| * Move code for launching tests out of router_add_to_routerlist()•••router_add_to_routerlist() is supposed to be a nice minimal function that only touches the routerlist structures, but it included a call to dirserv_single_reachability_test(). We have a function that gets called _after_ adding descriptors successfully: routerlist_descriptors_added. This patch moves the responsibility for testing there. Because the decision of whether to test or not depends on whether there was an old routerinfo for this router or not, we have to first detect whether we _will_ want to run the tests if the router is added. We make this the job of routers_update_status_from_consensus_networkstatus(). Finally, this patch makes the code notice if a router is going from hibernating to non-hibernating, and if so causes a reachability test to get launched. Nick Mathewson2010-08-18
* | Remove unused function declarations•••Also remove some #if 0'd code from the unit tests for buffers. The code was killed in e6794e58081af773073c266e23fe3ab2ebecdb7e (5 years ago), and is now broken anyways. Sebastian Hahn2010-08-17
|/
* Create dirserv.hSebastian Hahn2010-07-27