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 |
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 |
Nick Mathewson
|
4eff8b6530
When we mark a node as a sybil, mark it down and reset its uptime to 0
|
11 years ago |
Nick Mathewson
|
61995d3e2c
Ignore tiny bandwidths entirely when computing thresholds
|
11 years ago |
Nick Mathewson
|
317d16de04
Increase the minimum value for the Fast flag to 4096.
|
11 years ago |
Nick Mathewson
|
8be7f69f8d
Refactor should-count-towards-thresholds test into new function
|
11 years ago |
Nick Mathewson
|
40c13240c0
When computing performance thresholds, ignore omitted-as-sybil nodes.
|
11 years ago |
Nick Mathewson
|
a141430ec3
Rename log() to tor_log() for logging
|
11 years ago |
Nick Mathewson
|
e4821fa14d
Remove two extrneous semicolons in dirserv.c
|
11 years ago |
Nick Mathewson
|
4da083db3b
Update the copyright date to 201.
|
11 years ago |
Nick Mathewson
|
b1bdecd703
Merge branch 'ntor-resquashed'
|
11 years ago |
Nick Mathewson
|
5b3dd1610c
Wrangle curve25519 onion keys: generate, store, load, publish, republish
|
11 years ago |
Nick Mathewson
|
b1ff8daeb5
Nuke uses of memcmp outside of unit tests
|
11 years ago |
Nick Mathewson
|
01ac961ca1
Merge branch 'fallback_dirsource_v3'
|
11 years ago |
Nick Mathewson
|
025dc19b63
Merge remote-tracking branch 'public/bug6887'
|
11 years ago |
Nick Mathewson
|
705ee3b5d4
Rename trusted_dir_server_t to dir_server_t. Automatic renaming.
|
11 years ago |