summaryrefslogtreecommitdiff
path: root/crates/tor-netdir/src/lib.rs
Commit message (Expand)AuthorAgeFilesLines
...
* 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
* netdir: Downgrade/remove/defer some TODO hs entries.Nick Mathewson2023-06-291-6/+4
* netdir: remove some now-needless warning suppressions.Nick Mathewson2023-06-291-1/+0
* lints: Run maint/add_warning to actually apply new lintsIan Jackson2023-06-211-0/+2
* netdir: Wrap HsDir an Arc<>Nick Mathewson2023-06-091-5/+7
* Expand docs for NetDirProviderIan Jackson2023-06-081-0/+7
* netdir, netdoc: Add accessors for protocol version status.Nick Mathewson2023-06-061-0/+19
* guardmgr, netdir: fix some needless-mut warningsNick Mathewson2023-05-181-2/+2
* netdir: New function to check consistency of a HasRelayIdsNick Mathewson2023-05-161-0/+142
* tor-netdir: Shuffle the list of HS dirs used for downloading descriptors.Gabriela Moldovan2023-05-041-10/+22
* tor-netdir: Update tests to parse the descriptor, make test consensus lifetim...Gabriela Moldovan2023-05-031-8/+11
* Use bool::then_some() as appropriateNick Mathewson2023-04-111-1/+1
* Merge branch 'hs' into 'main'Ian Jackson2023-04-111-5/+19
|\
| * hs dirs: Note a thing we don't implement yetIan Jackson2023-04-111-0/+11
| * hs dirs: Implement spread_fetchIan Jackson2023-04-111-1/+2
| * hs dirs: Fix wrong ignored variable nameIan Jackson2023-04-111-1/+1
| * hs dirs: Replicas are 1-indexedIan Jackson2023-04-111-2/+2
| * tor-netdir: Make an import more preciseIan Jackson2023-04-111-1/+3
* | tor-netdir: Fix capitalisation of a doc linkIan Jackson2023-04-111-1/+1
* | tor-netdir: Fix link to hs_time_period functionIan Jackson2023-04-111-1/+1
|/
* tor-netdir: iter_filter_secondary: Make it less of a messIan Jackson2023-03-301-13/+10
* tor-netdir: Expand on comment for HsRingRings::itergabi-2502023-03-301-1/+1
* tor-netdir: Minor docs fixesgabi-2502023-03-301-2/+3
* tor-netdir: Implement hs_dirs accessorIan Jackson2023-03-301-2/+16
* tor-netdir: hs_dirs accessor: change semantics, type, and nameIan Jackson2023-03-301-7/+9
* tor-netdir: Provide hs_all_time_periods instead of ..._secondary_...Ian Jackson2023-03-301-5/+8
* tor-netdir: Rename hs_time_periodIan Jackson2023-03-301-3/+5
* tor-netdir: Sort out HsDirOpIan Jackson2023-03-301-2/+3
* tor-netdir: Reorganise iteration over hsdir ringsIan Jackson2023-03-301-4/+24
* tor-netdir: Provide relay_by_rs_idxIan Jackson2023-03-301-0/+16
* tor-netdir: Use `pos` not `idx` in test network constructorsIan Jackson2023-03-271-14/+14
* tor-netdir: eliminate ref to abolished MdEntryIan Jackson2023-03-271-2/+2
* tor-netdir: Use `rsidx` consistent for `RouterStatusIdx`Ian Jackson2023-03-271-36/+36