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