summaryrefslogtreecommitdiff
path: root/crates/tor-guardmgr/src/sample.rs
Commit message (Expand)AuthorAgeFilesLines
* RelayFlags: Use RelayFlag enum variant names everywhereIan Jackson2025-11-181-1/+1
* RelayFlags: Use the singular RelayFlag for naming individual flagsIan Jackson2025-11-181-2/+2
* tor-netdoc: Remove the RelayFlags type alias in netstatusIan Jackson2025-11-181-1/+2
* Fix name of clippy lint to unchecked_time_subtraction (2)Ian Jackson2025-11-061-1/+1
* Switch Cargo.toml files to edition 2024.Nick Mathewson2025-08-071-2/+2
* tor-dirmgr, tor-guardmgr: Use std::slice::from_ref as suggested by clippy.Gabriela Moldovan2025-07-071-2/+2
* guardmgr: Fix clippy warning about needlessly owned cow.Nick Mathewson2025-05-151-1/+1
* squash! Upgrade rand dependency to 0.9.Nick Mathewson2025-03-181-1/+1
* squash! Upgrade rand dependency to 0.9.Nick Mathewson2025-03-181-1/+1
* tor-netdir: Allow access to the `ConsensusBuilder` when building test netdirs.Gabriela Moldovan2024-09-091-3/+3
* Remove all *Relay is_flagged_guard methods.Nick Mathewson2024-03-281-3/+3
* Remove temporary functions in CheckedRelay.Nick Mathewson2024-03-281-5/+12
* Run maint/add_warning.Nick Mathewson2024-03-131-0/+1
* guardmgr: Stop using now-needless retain_mut crate.Nick Mathewson2023-11-301-4/+1
* Run maint/add_warning to add lint block everywhereIan Jackson2023-08-231-0/+1
* Run maint/add_warning to actually apply new lint allowsIan Jackson2023-07-101-0/+1
* "Fix" remaining unchecked-subtraction warnings.Nick Mathewson2023-01-271-1/+3
* Allow clippy::unchecked_duration_subtraction in testsNick Mathewson2023-01-271-0/+1
* test lint blocks: Add many many automaticallyIan Jackson2022-12-121-0/+8
* Merge branch 'remove_deadcode_allow' into 'main'Nick Mathewson2022-11-231-1/+0
|\
| * guardmgr: Remove a now-unneeded "allow(dead_code)"Nick Mathewson2022-11-161-1/+0
* | GuardMgr: split Reachable::Unknown into Untried and RetriableNick Mathewson2022-11-171-3/+5
|/
* GuardSet: Add a method to report which bridge descs we want.Nick Mathewson2022-11-141-0/+37
* GuardMgr: remove redundant call to extend_sample_as_neededNick Mathewson2022-11-101-3/+3
* GuardMgr: rename n_primary_without_dir_infoNick Mathewson2022-11-101-3/+8
* GuardMgr: Fix build with bridge-client disabled.Nick Mathewson2022-11-081-0/+1
* GuardMgr: Remove no-longer-relevant `TODO pt-client` commentsNick Mathewson2022-11-081-4/+0
* GuardMgr: Pass correct universe to "Bridges" `GuardSet`.Nick Mathewson2022-11-081-1/+1
* tor-guardmgr: use imported WeightThreshold in one placeIan Jackson2022-11-031-1/+1
* GuardMgr: Fix and improve comments based on review.Nick Mathewson2022-11-021-1/+1
* guardmgr: fix rustdoc references.Nick Mathewson2022-11-021-1/+1
* guardmgr: Refactor candidate info; add `full_dir_info`Nick Mathewson2022-11-021-7/+7
* guardmgr: Universe API should look up by ChanTargetNick Mathewson2022-11-021-1/+1
* guardmgr: take sampled guards from Universe.Nick Mathewson2022-11-021-65/+33
* guardmgr: Continue porting porting code to use Universe.Nick Mathewson2022-11-021-9/+8
* guardmgr: Begin to decouple guards from NetDir.Nick Mathewson2022-11-021-1/+5
* guardmgr: Allow guards to be constructed from any ChanTarget.Nick Mathewson2022-11-021-1/+1
* guardmgr: Rename and clarify of non-persistent-state copy fnsNick Mathewson2022-10-271-27/+5
* Clarify fix_consistencyIan Jackson2022-10-271-2/+2
* Clarify what it means to be "an identity" for a primary guard.Ian Jackson2022-10-271-1/+1
* tor-guardmgr: Add big doc comment about guard id handlingIan Jackson2022-10-271-0/+58
* guardmgr: Use new ambiguity-tolerant contains in state handlingNick Mathewson2022-10-251-2/+30
* guard sample: Change semantics of `contains` to handle ambiguity.Nick Mathewson2022-10-251-6/+18
* Replace contains_relay with can_add_relay().Nick Mathewson2022-10-251-9/+6
* Convert guard samples to use ByRelayIds.Nick Mathewson2022-10-251-98/+159
* guardmgr: Add bridges sample, encode sample ID in FirstHopId.Nick Mathewson2022-10-211-4/+11
* fix a couple of spelling errors in guardmgrNick Mathewson2022-10-191-1/+1
* GuardMgr: Add TODOs for bridge support.Nick Mathewson2022-09-261-0/+4
* Downgrade "guard set loaded" messagesNick Mathewson2022-08-251-1/+1
* Final (?) API revisions for tor-linkspecNick Mathewson2022-08-101-2/+2