[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



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

Comment(by andrea):

 Replying to [comment:6 nickm]:
 > Let's see-- the behavior is "Tell me the measured bw. If we don't have a
 measured bandwidth for this, tell me 0 unless we don't have enough meaured
 bandwidth overall."  I don't see a great way to name a function after that
 behavior, so instead perhaps we should name it after its application.  The
 application is really "Tell me the bandwidth that I should act on when
 deciding things about this router."  Maybe
 dirserv_get_{??}_bandwidth_for_router, where ?? is something like
 "operational" or "actionable"?  I wonder if there's a less buzzwordy word
 we could use for that.

 Hmmm - yeah, those are pretty buzzwordy.  How about
 dirserv_get_bandwidth_for_router_flags()?  (It wouldn't fit anymore if
 there were a future extension to use it for the thresholds too, though).

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/8435#comment:7>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs