Nick Mathewson
|
e602c4031b
Make all consumers of microdesc_t.body tolerate NULL
|
11 年之前 |
Nick Mathewson
|
a1d7f7ea50
Use a clearer idiom for node identity in router_counts_toward_thresholds
|
11 年之前 |
Nick Mathewson
|
139d367f29
Fix 8833: crash bug from using NULL node->ri in dirserv.c
|
11 年之前 |
Nick Mathewson
|
b933360ee8
Add a boolean to flag-thresholds for "we have enough measured bandwidth"
|
11 年之前 |
Nick Mathewson
|
8362f8854a
Merge branch 'less_charbuf_rebased' into maint-0.2.4
|
11 年之前 |
Nick Mathewson
|
0f83fcc5c2
Add a quick-and-dirty-test for generate_v2_networkstatus.
|
11 年之前 |
Nick Mathewson
|
cb75519bbf
Refactor dirobj signature generation
|
11 年之前 |
Nick Mathewson
|
1186628fa9
Refactor v2 networkstatus generation to avoid buffer-style
|
11 年之前 |
Nick Mathewson
|
9246a7ca58
Refactor routerstatus_format_entry to avoid character-buffers
|
11 年之前 |
Nick Mathewson
|
f3ae628517
Remove a now-empty if body; invert the sense of its condition
|
11 年之前 |
Nick Mathewson
|
c4de828923
Remvoe total_bandwidth and total_exit_bandwidth as unused.
|
11 年之前 |
Nick Mathewson
|
52cadff0d6
Rename all fields which measure bw in kb to end with _kb
|
11 年之前 |
Nick Mathewson
|
49696786fb
Fix some KB/B confusion in flag threshold minima.
|
11 年之前 |
Nick Mathewson
|
265a7ebca6
Use credible_bandwidth uniformly in setting/using fast_bandwidth
|
11 年之前 |
Nick Mathewson
|
ec4ee3197f
Use correct units for dirserv_get_{credible_bandwidth,bandwidth_for_router}
|
11 年之前 |
Andrea Shepard
|
5c5198e713
Set default minimum bandwidth for exit flag to zero for TestingTorNetwork
|
11 年之前 |
Nick Mathewson
|
a660fe6fd5
Let testing networks override ABSOLUTE_MIN_VALUE_FOR_FAST_FLAG
|
11 年之前 |
Nick Mathewson
|
aa4fcc4f13
Merge remote-tracking branch 'public/bug6164' into maint-0.2.4
|
11 年之前 |
Andrea Shepard
|
0164f16f70
Improve comment for routers_with_measured_bw static var in dirserv.c
|
11 年之前 |
Andrea Shepard
|
e9bdb695e8
Improve comment on router_counts_toward_thresholds()
|
11 年之前 |
Andrea Shepard
|
d64e5969f4
Add dirserv_has_measured_bw() predicate wrapper for dirserv_query_measured_bw_cache()
|
11 年之前 |
Andrea Shepard
|
f93f7e331b
Ignore advertised bandwidths if we have enough measured bandwidths available
|
11 年之前 |
Andrea Shepard
|
8027ebb5fd
Better comment for dirserv_query_measured_bw_cache()
|
11 年之前 |
Andrea Shepard
|
b522434834
Use DIGESTMAP_FOREACH_MODIFY in dirserv_expire_measured_bw_cache() for concision
|
11 年之前 |
Andrea Shepard
|
6e978ab829
Add unit test for dirserv measured bandwidth cache
|
11 年之前 |
Andrea Shepard
|
302d1dae6c
Make sure expiry check in dirserv_expire_measured_bw_cache() works if time_t is unsigned
|
11 年之前 |
Andrea Shepard
|
c7947619df
More constness in dirserv.c
|
11 年之前 |
Andrea Shepard
|
75eb79a6aa
Make dirserv_cache_measured_bw() use a const measured_bw_line_t *
|
11 年之前 |
Andrea Shepard
|
0efe96cae8
Call dirserv_clear_measured_bw_cache() from dirserv_free_all()
|
11 年之前 |
Andrea Shepard
|
b5a164bde4
Prefer measured bandwidths over advertised when computing things for votes on a dirauth
|
11 年之前 |