Skip to content
  • Nick Mathewson's avatar
    Add a new token-bucket backend abstraction, with tests · c376200f
    Nick Mathewson authored
    This differs from our previous token bucket abstraction in a few
    ways:
    
      1) It is an abstraction, and not a collection of fields.
      2) It is meant to be used with monotonic timestamps, which should
         produce better results than calling gettimeofday over and over.
    c376200f