summaryrefslogtreecommitdiff
path: root/crates/tor-relay-selection/src/usage.rs
Commit message (Collapse)AuthorAgeFilesLines
* tor-relay-selection: Introduce RelayUsage::vanguard.Gabriela Moldovan2024-04-221-0/+22
| | | | | | | | | | | This adds a new `RelayUsage` for vanguards. As per the original [vanguards implementation], vanguards must: * have the Fast, Stable, and Valid flags * be selected using the `Middle` weight Part of #1364 [vanguards implementation]: https://github.com/mikeperry-tor/vanguards
* Remove all *Relay is_flagged_guard methods.Nick Mathewson2024-03-281-1/+4
| | | | These were only used for testing.
* Remove temporary functions in CheckedRelay.Nick Mathewson2024-03-281-13/+35
|
* Run maint/add_warning.Nick Mathewson2024-03-131-0/+1
|
* Rename the RelayPredicate trait to discourage its being used directly.Nick Mathewson2024-03-121-3/+3
| | | | Everybody who can, should instead use a RelaySelector.
* New crate to define a high-level API for relay selectionNick Mathewson2024-03-121-0/+374