aboutsummaryrefslogtreecommitdiff
path: root/crates/tor-guardmgr/src/vanguards
Commit message (Collapse)AuthorAgeFilesLines
...
* tor-guardmgr: Make TimeboundVanguard fields pub(super).Gabriela Moldovan2024-04-051-2/+2
|
* tor-guardmgr: Store the TimeboundVanguards in a binary heap.Gabriela Moldovan2024-04-051-5/+29
|
* tor-guardmgr: Give VanguardSets a target set size.Gabriela Moldovan2024-04-051-1/+11
| | | | | The target is the number of vanguards the `VanguardMgr`s will try to maintain in the `VanguardSet`.
* tor-guardmgr: Derive getters for VanguardParams.Gabriela Moldovan2024-04-051-1/+7
|
* tor-guardmgr: Pass an rng to select_vanguard.Gabriela Moldovan2024-04-051-1/+3
| | | | | This function will need to randomly select a vanguard, so it needs an `Rng`.
* tor-guardmgr: Implement TryFrom<&NetParameters> for VanguardParams.Gabriela Moldovan2024-04-051-3/+18
|
* tor-guardmgr: Fix typo in VanguardSet docs.Gabriela Moldovan2024-04-051-1/+1
|
* tor-circmgr: Fix a clippy warning.Gabriela Moldovan2024-03-211-1/+1
|
* tor-guardmgr: Explain what neighbor_exclusion is for.Gabriela Moldovan2024-03-211-1/+4
|
* tor-guardmgr: Make Vanguard::select_relay take a RelayExclusion.Gabriela Moldovan2024-03-211-1/+6
| | | | | | | This enables us to prevent the same relay from being picked in consecutive positions in a path. Part of #1340
* tor-circmgr: Unconditionally define VanguardMode.Gabriela Moldovan2024-03-201-18/+2
|
* tor-guardmgr: Derive getters for Vanguard.Gabriela Moldovan2024-03-201-2/+1
|
* tor-guardmgr: Return an error if VanguardMode does not support the specified ↵Gabriela Moldovan2024-03-111-1/+5
| | | | Layer.
* tor-guardmgr: Move the VanguardSets into the inner mutable state.Gabriela Moldovan2024-03-111-1/+1
|
* tor-guardmgr: Say more about TimeBoundVanguards.Gabriela Moldovan2024-03-111-0/+8
|
* tor-guardmgr: Make the VanguardMode variants serialize to lowercase.Gabriela Moldovan2024-03-111-0/+1
|
* tor-guardmgr: Add vanguards API skeleton.Gabriela Moldovan2024-03-112-0/+142
Part of #1275