Nick Mathewson
|
e50d85b90c
Clean check for live consensus when updating the guard sample.
|
8 years ago |
Nick Mathewson
|
b7088e5b5a
Move a TODO comment into doxygen comments.
|
8 years ago |
George Kadianakis
|
50783d0123
Easy code fixes.
|
8 years ago |
George Kadianakis
|
7ab2678074
Trivial documentation improvements.
|
8 years ago |
Nick Mathewson
|
6867950432
Wrap all of the legacy guard code, and its users, in #ifdefs
|
8 years ago |
Nick Mathewson
|
2b4bfe62ee
Fix a signed/unsigned warning on 32-bit
|
8 years ago |
Nick Mathewson
|
72dc2ae319
Tests for choosing which guard_selection to use
|
8 years ago |
Nick Mathewson
|
d9f010db84
Update node-selection tests to consider restrictions
|
8 years ago |
Nick Mathewson
|
7361e1b499
Tests for restricted-circuit cases of upgrade_waiting_circuits()
|
8 years ago |
Nick Mathewson
|
52e196bab5
Don't make $hexid nicknames persistent.
|
8 years ago |
Nick Mathewson
|
79d3e94f8b
prop271: Tests for the highlevel or_state_t encode/decode functions
|
8 years ago |
Nick Mathewson
|
171981f8a0
Add a test for entry_guard_state_should_expire()
|
8 years ago |
Nick Mathewson
|
217590ad05
Extract guard_selection_infer_type into its own function.
|
8 years ago |
Nick Mathewson
|
13315812e8
Repair unit test for tiny-network case.
|
8 years ago |
Nick Mathewson
|
2c8c58ab2f
Another tweak for guard restrictions: don't let complete circs block
|
8 years ago |
Nick Mathewson
|
87f9b42179
Implement support for per-circuit guard restrictions.
|
8 years ago |
Nick Mathewson
|
17c3faa2e3
guards_choose_dirguard(): replace one XXXX with another.
|
8 years ago |
Nick Mathewson
|
9d065ecc3d
Fix a magic number in get_max_sample_size
|
8 years ago |
Nick Mathewson
|
1e9cd5d2bb
Note a couple of XXX-prop271s as spec deviations.
|
8 years ago |
Nick Mathewson
|
f4e64c04f4
Remove some resolved "XXXX prop271" comments.
|
8 years ago |
Nick Mathewson
|
6c3f555a8c
Re-enable some disabled tests about switching guard_selections
|
8 years ago |
Nick Mathewson
|
80fa404625
Fix for small test networks: don't refuse to have any sampled guards.
|
8 years ago |
Nick Mathewson
|
eac8b3f758
Remove a few unused arguments.
|
8 years ago |
Nick Mathewson
|
84bfa895d7
Change return value of entry_guard_succeeded to an enum.
|
8 years ago |
Nick Mathewson
|
46619ec914
Note some large functions that could be split.
|
8 years ago |
Nick Mathewson
|
3bcbbea350
More progress on bridge implementation with prop271 guards
|
8 years ago |
Nick Mathewson
|
82fa71610d
Implement bridge backends for sampling, filtering guards.
|
8 years ago |
Nick Mathewson
|
53f248f6c9
Add some needed accessors/inspectors for bridge/guard convergence
|
8 years ago |
Nick Mathewson
|
1d52ac4d3f
Lay down some infrastructure for bridges in the New Guard Order.
|
8 years ago |
Nick Mathewson
|
89f5f149df
Remove guard_selection argument from status-reporting functions
|
8 years ago |