the other half of my patch. more coming later.

svn:r9434
This commit is contained in:
Roger Dingledine 2007-01-27 09:24:23 +00:00
parent 9057af692a
commit c6fd3c7158
2 changed files with 2 additions and 1 deletions

View File

@ -30,7 +30,7 @@ N - Test guard unreachable logic; make sure that we actually attempt to
Make sure that we don't freak out when the network is down.
Items for 0.1.2.x:
R - weight dir requests by advertised bandwidth? with maybe a lower cutoff
o weight dir requests by advertised bandwidth? with maybe a lower cutoff
than for tor traffic. perhaps also weighted by the expected size of
the response.

View File

@ -2836,6 +2836,7 @@ int router_is_unreliable(routerinfo_t *router, int need_uptime,
int need_capacity, int need_guard);
uint32_t router_get_advertised_bandwidth(routerinfo_t *router);
routerinfo_t *routerlist_sl_choose_by_bandwidth(smartlist_t *sl, int for_exit);
routerstatus_t *routerstatus_sl_choose_by_bandwidth(smartlist_t *sl);
routerinfo_t *router_choose_random_node(const char *preferred,
const char *excluded,