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 година |
Nick Mathewson
|
5d2b2b9ede
Clear up a comment about when an assertion could fire
|
пре 11 година |
Nick Mathewson
|
b0b0d6af63
Merge branch 'bug2286_unit_test_squashed'
|
пре 11 година |
Nick Mathewson
|
6170bc5a93
Refactor storing of measured_bw versus Unmeasured=1.
|
пре 11 година |
Nick Mathewson
|
01184f164f
Merge remote-tracking branch 'public/bug8158'
|
пре 11 година |
Roger Dingledine
|
92ea0b86de
Refactor resolve_my_address() so logs are more accurate / helpful
|
пре 11 година |
Roger Dingledine
|
e1ec03f819
use router->addr for log messages and controller events
|
пре 11 година |
Roger Dingledine
|
99185397de
Stop checking if ri->address is an IP
|
пре 11 година |
Nick Mathewson
|
194bd56c8a
Refactor generating the m lines in a vote into its own function
|
пре 11 година |
Nick Mathewson
|
cd4ad45ba3
Include a flag-thresholds line in each vote to describe flag cutoffs
|
пре 11 година |
Nick Mathewson
|
4eff8b6530
When we mark a node as a sybil, mark it down and reset its uptime to 0
|
пре 11 година |
Nick Mathewson
|
61995d3e2c
Ignore tiny bandwidths entirely when computing thresholds
|
пре 11 година |
Nick Mathewson
|
317d16de04
Increase the minimum value for the Fast flag to 4096.
|
пре 11 година |
Nick Mathewson
|
8be7f69f8d
Refactor should-count-towards-thresholds test into new function
|
пре 11 година |
Nick Mathewson
|
40c13240c0
When computing performance thresholds, ignore omitted-as-sybil nodes.
|
пре 11 година |
Nick Mathewson
|
a141430ec3
Rename log() to tor_log() for logging
|
пре 11 година |