Nick Mathewson
|
c4de828923
Remvoe total_bandwidth and total_exit_bandwidth as unused.
|
11 years ago |
Nick Mathewson
|
52cadff0d6
Rename all fields which measure bw in kb to end with _kb
|
11 years ago |
Nick Mathewson
|
49696786fb
Fix some KB/B confusion in flag threshold minima.
|
11 years ago |
Roger Dingledine
|
9a4e9b4a80
fix trivial typo
|
11 years ago |
Nick Mathewson
|
265a7ebca6
Use credible_bandwidth uniformly in setting/using fast_bandwidth
|
11 years ago |
Nick Mathewson
|
ec4ee3197f
Use correct units for dirserv_get_{credible_bandwidth,bandwidth_for_router}
|
11 years ago |
Andrea Shepard
|
5c5198e713
Set default minimum bandwidth for exit flag to zero for TestingTorNetwork
|
11 years ago |
Nick Mathewson
|
a660fe6fd5
Let testing networks override ABSOLUTE_MIN_VALUE_FOR_FAST_FLAG
|
11 years ago |
Nick Mathewson
|
aa4fcc4f13
Merge remote-tracking branch 'public/bug6164' into maint-0.2.4
|
11 years ago |
Andrea Shepard
|
0164f16f70
Improve comment for routers_with_measured_bw static var in dirserv.c
|
11 years ago |
Andrea Shepard
|
e9bdb695e8
Improve comment on router_counts_toward_thresholds()
|
11 years ago |
Andrea Shepard
|
d64e5969f4
Add dirserv_has_measured_bw() predicate wrapper for dirserv_query_measured_bw_cache()
|
11 years ago |
Andrea Shepard
|
f93f7e331b
Ignore advertised bandwidths if we have enough measured bandwidths available
|
11 years ago |
Andrea Shepard
|
8027ebb5fd
Better comment for dirserv_query_measured_bw_cache()
|
11 years ago |
Andrea Shepard
|
b522434834
Use DIGESTMAP_FOREACH_MODIFY in dirserv_expire_measured_bw_cache() for concision
|
11 years ago |
Andrea Shepard
|
6e978ab829
Add unit test for dirserv measured bandwidth cache
|
11 years ago |
Andrea Shepard
|
302d1dae6c
Make sure expiry check in dirserv_expire_measured_bw_cache() works if time_t is unsigned
|
11 years ago |
Andrea Shepard
|
c7947619df
More constness in dirserv.c
|
11 years ago |
Andrea Shepard
|
75eb79a6aa
Make dirserv_cache_measured_bw() use a const measured_bw_line_t *
|
11 years ago |
Andrea Shepard
|
0efe96cae8
Call dirserv_clear_measured_bw_cache() from dirserv_free_all()
|
11 years ago |
Andrea Shepard
|
b5a164bde4
Prefer measured bandwidths over advertised when computing things for votes on a dirauth
|
11 years ago |
Nick Mathewson
|
5d2b2b9ede
Clear up a comment about when an assertion could fire
|
11 years ago |
Nick Mathewson
|
b0b0d6af63
Merge branch 'bug2286_unit_test_squashed'
|
11 years ago |
Nick Mathewson
|
6170bc5a93
Refactor storing of measured_bw versus Unmeasured=1.
|
11 years ago |
Nick Mathewson
|
01184f164f
Merge remote-tracking branch 'public/bug8158'
|
11 years ago |
Roger Dingledine
|
92ea0b86de
Refactor resolve_my_address() so logs are more accurate / helpful
|
11 years ago |
Roger Dingledine
|
e1ec03f819
use router->addr for log messages and controller events
|
11 years ago |
Roger Dingledine
|
99185397de
Stop checking if ri->address is an IP
|
11 years ago |
Nick Mathewson
|
194bd56c8a
Refactor generating the m lines in a vote into its own function
|
11 years ago |
Nick Mathewson
|
cd4ad45ba3
Include a flag-thresholds line in each vote to describe flag cutoffs
|
11 years ago |