summaryrefslogtreecommitdiff
path: root/crates/tor-netdir/src/lib.rs
Commit message (Expand)AuthorAgeFilesLines
* Note a calculation we can clean up after doing spec work.Nick Mathewson2024-02-201-1/+3
* Add caveats on is_flagged_guard, and note possible deprecationNick Mathewson2024-02-201-1/+15
* Add and use "UncheckedRelay::is_suitable_as_guard"Nick Mathewson2024-02-201-0/+5
* Only pick Fast relays as introduction points.Nick Mathewson2024-02-201-1/+1
* Require that guards are Fast and Stable.Nick Mathewson2024-02-201-0/+5
* netdir: Add Relay::is_flagged_{fast,stable} methods.Nick Mathewson2024-02-121-0/+14
* tor-netdir: Make hs_dirs_{upload, download} take separate args instead of tuple.Gabriela Moldovan2024-01-241-2/+4
* tor-netdir: Simplify `hs_dirs_upload` by only returning the `Relay`.Gabriela Moldovan2024-01-241-20/+15
* tor-netdir: Make hs_all_time_periods return HsDirParams.Gabriela Moldovan2024-01-241-3/+3
* netdir: Make hs_dirs_upload() yield &HsDirParams.Nick Mathewson2024-01-231-2/+3
* Expose HsDirParams, and give it accessors.Nick Mathewson2024-01-231-1/+5
* netdir: Only choose Stable relays as introduction points.Nick Mathewson2024-01-161-3/+1
* netdir: Downgrade a TODO in a deprecated, unused function.Nick Mathewson2024-01-141-1/+5
* netdir: Make TODOs on is_hs_intro_point refer to #1240Nick Mathewson2024-01-141-3/+3
* netdir: Downgrade or remove several "TODO HSS" comments.Nick Mathewson2024-01-141-7/+5
* tor-hsservice: Rewrite map() as a for-loop (fmt).Gabriela Moldovan2023-10-031-1/+2
* tor-netdir: Fix broken condition.Gabriela Moldovan2023-10-031-4/+5
* arti-client: add exit selection with GeoIP country codeseta2023-09-181-0/+2
* hs: Intro point selection: TODO re checking the stable flag (fmt)Ian Jackson2023-08-291-1/+1
* hs: Intro point selection: TODO re checking the stable flagIan Jackson2023-08-291-0/+1
* hs: Intro point selection: Actually call is_hs_intro_point()Ian Jackson2023-08-291-2/+6
* tor-netdir: Support for seleting HS intro pointsIan Jackson2023-08-291-0/+7
* Run maint/add_warning to add lint block everywhereIan Jackson2023-08-231-0/+1
* tor-netdir: Use an owned HsBlindId instead of a reference.Gabriela Moldovan2023-08-221-4/+4
* tor-netdir: Replace flat_map() with cartesian_product().Gabriela Moldovan2023-08-221-7/+2
* tor-netdir: Make `hs_dirs_upload` take an iterator instead of a slice (fmt).Gabriela Moldovan2023-08-221-4/+6
* tor-netdir: Make `hs_dirs_upload` take an iterator instead of a slice.Gabriela Moldovan2023-08-221-7/+10
* tor-netdir: Add TODO about making HsDirOp private.Gabriela Moldovan2023-08-221-0/+3
* tor-hsclient: Use hs_dirs_download instead of the deprecated hs_dirs.Gabriela Moldovan2023-08-221-1/+1
* tor-netdir: Deprecate hs_dirs().Gabriela Moldovan2023-08-221-0/+2
* tor-netdir: Add separate functions for computing hsdirs for upload/download.Gabriela Moldovan2023-08-221-0/+102
* tor-netdir: Add private helpers for selecting hsdirs.Gabriela Moldovan2023-08-221-0/+72
* tor-netdir: Replace somewhat niche scan() usage with flat_map().Gabriela Moldovan2023-08-161-9/+7
* tor-netdir: Rework the logic for checking if a node has already been selected.Gabriela Moldovan2023-08-161-3/+1
* tor-netdir: Store the hsdir indices in a HashSet instead of a BTreeSet.Gabriela Moldovan2023-08-161-4/+4
* tor-netdir: Only select nodes that haven't been used for lower-numbered repli...Gabriela Moldovan2023-08-161-15/+96
* tor-netdir: Make ring_items_at() filter the items before returning.Gabriela Moldovan2023-08-161-1/+1
* tor-netdir: Use hsdir_spread_store if we're uploading.Gabriela Moldovan2023-08-161-4/+9
* Run add_warnings on all files.Nick Mathewson2023-08-041-2/+2
* Add country codes to relays inside a NetDireta2023-07-131-3/+134
* Run maint/add_warning to actually apply new lint allowsIan Jackson2023-07-101-0/+2
* Remove explicit allows for missing_panics_docs.Nick Mathewson2023-07-061-4/+0
* Run add_warning to remove `missing_panics_doc` deny.Nick Mathewson2023-07-061-1/+0
* netdir: add crosslinks to our definition of "usable".Nick Mathewson2023-06-291-13/+13
* netdir: document what we mean by a "usable" relay.Nick Mathewson2023-06-291-0/+8
* netdir: Conditionally expose some by_rsa APIs as experimental.Nick Mathewson2023-06-291-2/+13
* netdir: Remove a TODO HSNick Mathewson2023-06-291-4/+0
* Downgrade TODO HS on HsDirParams::compute().expect()Nick Mathewson2023-06-291-4/+6
* netdir: Defer a TODO HS but add a commentNick Mathewson2023-06-291-1/+12
* netdir: take n_replicas and spread_fetch from consensus parametersNick Mathewson2023-06-291-2/+12