Commit History

Author SHA1 Message Date
  Nick Mathewson bcf3e546d1 Move util_bug into libtor-log 6 years ago
  Nick Mathewson 6fc2d53227 Remove util_bug dependency on compat.h 6 years ago
  Nick Mathewson 0dab29ce10 Run rectify_include_paths.py 6 years ago
  Nick Mathewson fb0019daf9 Update copyrights to 2018. 6 years ago
  Nick Mathewson b36c450b57 Amend token_bucket_rw_dec to indicate which buckets became empty. 6 years ago
  Nick Mathewson 2bf6f1cd39 token bucket: Add parens to rate_per_sec_to_rate_per_step() 6 years ago
  David Goulet ae4e5b9824 token: Fix uint32_t to uint64_t conversion 6 years ago
  David Goulet c2f83746f4 token_bucket: Fix indentation 6 years ago
  Nick Mathewson 003e6595bf Refactor "timestamp" not to be its own type coupled to token buffers 6 years ago
  Nick Mathewson 2307bef7a2 Move token_bucket_raw_* functions to the start of the module. 6 years ago
  Nick Mathewson 9c405ba595 Never pick a rate of 0. 6 years ago
  Nick Mathewson 0b40ed5e70 Start re-refactoring the token bucket interface. 6 years ago
  Nick Mathewson 03b96882de Rename token_bucket_t to token_bucket_rw_t. 6 years ago
  Nick Mathewson 3f514fe3b1 Accept small hops backward in the monotonic timer. 6 years ago
  Nick Mathewson 8a85239746 Add a helper function to decrement read and write at the same time 6 years ago
  Nick Mathewson c376200f6a Add a new token-bucket backend abstraction, with tests 6 years ago