[tor-bugs] #8435 [Tor]: Ignore advertised bandwidths for flags once we have enough measured bandwidths

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Mar 18 18:48:35 UTC 2013


#8435: Ignore advertised bandwidths for flags once we have enough measured
bandwidths
-------------------------+--------------------------------------------------
 Reporter:  andrea       |          Owner:                    
     Type:  enhancement  |         Status:  needs_revision    
 Priority:  major        |      Milestone:  Tor: 0.2.4.x-final
Component:  Tor          |        Version:  Tor: unspecified  
 Keywords:  tor-auth     |         Parent:                    
   Points:               |   Actualpoints:                    
-------------------------+--------------------------------------------------
Changes (by nickm):

  * status:  needs_review => needs_revision


Comment:

 Looks good!

 Does routers_with_measured_bw really need to be static?  Maybe
 dirserv_count_measured_bws could return a value.  That could make things
 ugly, though. If it remains static, though, it should be documented what
 sets it when and what uses it when.

 required_mbw should be documented in the doxygen comment for
 router_counts_toward_thresholds

  dirserv_query_measured_bw_cache is used like a predicate but isn't named
 like one.  Maybe we should add a dirserv_router_has_measured_bw() wrapper
 for clarity.

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/8435#comment:10>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list