summaryrefslogtreecommitdiff
path: root/crates/tor-guardmgr/src/sample.rs
Commit message (Expand)AuthorAgeFilesLines
* 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
* Use accessors in two places where tests look at specific keys.Nick Mathewson2022-08-101-3/+4
* guardmgr: Replace IdPair with RelayIdsNick Mathewson2022-08-021-1/+2
* Improve message for failure to select a guard.Nick Mathewson2022-07-071-17/+30
* Rename pick_guard, pick_guard_ext.Nick Mathewson2022-06-171-16/+28
* Refactor and document issues with modify_hop.Nick Mathewson2022-06-171-1/+22
* API-fix for extend_sample_as_needed.Nick Mathewson2022-06-171-9/+17
* Remove some outdated comments.Nick Mathewson2022-06-171-6/+0
* GuardMgr: remove disallowed addresses from returned FirstHops.Nick Mathewson2022-06-171-0/+5
* tor-netdir: testnet: Make construct_netdir infallible (rustfmt)Ian Jackson2022-06-131-3/+1
* tor-netdir: testnet: Make construct_netdir infallibleIan Jackson2022-06-131-1/+0
* Initial functions to determine and expose a clock skew estimate.Nick Mathewson2022-04-071-0/+5
* GuardMgr: record clock skew information.Nick Mathewson2022-04-071-0/+8
* GuardMgr: Tests for copy_status_from.Nick Mathewson2022-04-051-0/+59
* Rewrite and fix Guard::copy_status_from.Nick Mathewson2022-04-051-6/+13