| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | netdir: Consider RelayFamilyIds based on family rules | Nick Mathewson | 2025-02-25 | 1 | -15/+45 |
| | | | | | | | | This implements the client side of proposal 321. It's a breaking change in netdir, since in_same_family now takes an extra argument. | ||||
| * | relay-selection: Add FamilyRules to exclude_relays_in_same_family. | Nick Mathewson | 2025-02-25 | 2 | -6/+24 |
| | | | | | | | | | | | | | When we're trying to exclude relays by family, we need to know which lists to look at. This information ultimately comes from the network parameters. We could avoid this change if we just told clients "look at all family information all the time", but that's not what the proposal says. This is a breaking change. | ||||
| * | clippy: deny `mod_module_files` | Steven Engler | 2025-01-06 | 1 | -0/+1 |
| | | | | | | | Denies 'mod.rs' files for consistency. https://rust-lang.github.io/rust-clippy/master/index.html#mod_module_files | ||||
| * | add_warnings, *: Allow clippy::needless_lifetimes | Nick Mathewson | 2024-12-03 | 1 | -0/+1 |
| | | | | | | | | | In 1.83, this warning triggers on many of our crates. We're thinking of fixing them all, but for now, we're going to disable the warning. This is part of #1765. | ||||
| * | tor-netdir: Allow access to the `ConsensusBuilder` when building test netdirs. | Gabriela Moldovan | 2024-09-09 | 1 | -1/+1 |
| | | | | | | This allows us to set SRVs for example (needed because by default, the test `NetDir` is built from a consensus that doesn't contain any SRVs). | ||||
| * | Re-run maint/add_warning. | Nick Mathewson | 2024-05-06 | 1 | -2/+2 |
| | | | | | This commit is automatically generated. | ||||
| * | tor-relay-selection: Introduce RelayUsage::vanguard. | Gabriela Moldovan | 2024-04-22 | 1 | -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 | ||||
| * | Rename `Relay::same_relay` and make it private. | Nick Mathewson | 2024-03-28 | 1 | -1/+1 |
| | | | | | | Everybody outside of tor-netdir should use HasRelayIds::same_relay_ids, whose intent is clearer. | ||||
| * | Remove all *Relay is_flagged_guard methods. | Nick Mathewson | 2024-03-28 | 1 | -1/+4 |
| | | | | | These were only used for testing. | ||||
| * | Remove temporary functions in CheckedRelay. | Nick Mathewson | 2024-03-28 | 3 | -15/+37 |
| | | |||||
| * | Run maint/add_warning. | Nick Mathewson | 2024-03-13 | 4 | -0/+4 |
| | | |||||
| * | Fix some rustdoc warnings. | Nick Mathewson | 2024-03-12 | 1 | -1/+1 |
| | | | | | | These are mostly about explicitly linking to things that were already in scope. | ||||
| * | tor-relay-selection: Use partition() in testing code. | Nick Mathewson | 2024-03-12 | 1 | -9/+3 |
| | | |||||
| * | Rename and clarify result_is_relaxed. | Nick Mathewson | 2024-03-12 | 1 | -5/+5 |
| | | |||||
| * | Refactor RelaySelector to make its invariants less subtle. | Nick Mathewson | 2024-03-12 | 1 | -48/+61 |
| | | |||||
| * | Add a comment about future extensions to RestrictionInner. | Nick Mathewson | 2024-03-12 | 1 | -0/+6 |
| | | |||||
| * | tor-relay-selector: Clarify "flexible" vs "relaxed" a little. | Nick Mathewson | 2024-03-12 | 1 | -1/+2 |
| | | |||||
| * | relay-selection: Remove the extension traits for Relay and NetDir | Nick Mathewson | 2024-03-12 | 2 | -64/+0 |
| | | | | | | | I thought we would need these, but after the latest refactoring they turned out not to have any users, and one of them had only deprecated methods. Best just to drop them. | ||||
| * | Rename the RelayPredicate trait to discourage its being used directly. | Nick Mathewson | 2024-03-12 | 5 | -26/+42 |
| | | | | | Everybody who can, should instead use a RelaySelector. | ||||
| * | New crate to define a high-level API for relay selection | Nick Mathewson | 2024-03-12 | 7 | -0/+1649 |
| | | |||||
| * | Create a new empty tor-relay-selection crate. | Nick Mathewson | 2024-03-12 | 1 | -0/+42 |
