Browse Source

the other half of my patch. more coming later.

svn:r9434
Roger Dingledine 17 years ago
parent
commit
c6fd3c7158
2 changed files with 2 additions and 1 deletions
  1. 1 1
      doc/TODO
  2. 1 0
      src/or/or.h

+ 1 - 1
doc/TODO

@@ -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.
 

+ 1 - 0
src/or/or.h

@@ -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,