summaryrefslogtreecommitdiff
path: root/crates/tor-dirmgr/src/lib.rs
Commit message (Expand)AuthorAgeFilesLines
* tor-dirmgr: Remove opt_netdir entirely.Nick Mathewson2022-07-261-8/+5
* Remove unused DirMgr::netdir method, make opt_netdir private.Nick Mathewson2022-07-261-11/+1
* Add new APIs to NetDirProvider to better support timeliness.Nick Mathewson2022-07-261-3/+24
* Rename DirSkewTolerance to DirToleranceNick Mathewson2022-07-221-3/+3
* Run maint/add_warning crates/*/src/{lib,main}.rsIan Jackson2022-06-231-0/+3
* Merge branch 'stalled_directory' into 'main'Ian Jackson2022-06-211-14/+51
|\
| * tor-dirmgr: Make DirStatus non-public.Nick Mathewson2022-06-141-1/+1
| * Add a blockage-reporting mechanism to tor-dirmgr.Nick Mathewson2022-06-141-1/+1
| * DirMgr: Track errors, stalls, and resets as part of status.Nick Mathewson2022-06-131-0/+24
| * Refactor our logic for distinguishing download attemptsNick Mathewson2022-06-131-12/+24
| * Refactor most DirStatus users to use DirProgress.Nick Mathewson2022-06-131-3/+4
* | Fix clippy::significant_drop_in_scrutinee warningsNick Mathewson2022-06-151-5/+8
|/
* Merge branch 'dormant_directory' into 'main'Nick Mathewson2022-06-131-70/+59
|\
| * DirMgr: Use scopeguard crate in place of ad hoc RAII substitutesNick Mathewson2022-06-131-68/+18
| * Put the task schedule back when the dl task exits.Nick Mathewson2022-06-131-2/+9
| * New API to expose and use TaskHandle from DirMgr.Nick Mathewson2022-06-131-2/+31
| * DirMgr: Refactor bootstrap to use a TaskSchedule for sleeping.Nick Mathewson2022-06-101-14/+17
* | Merge branch 'use-testing-rng'Nick Mathewson2022-06-071-1/+2
|\ \ | |/ |/|
| * Use testing_rng() in tests throughout our crates.Nick Mathewson2022-06-021-1/+2
* | lints: Add let_unit_value allow to all cratesIan Jackson2022-05-311-0/+1
* | lints: Add lint block delimiters to every crateIan Jackson2022-05-311-0/+2
|/
* Remove BootstrapAction::ImpossibleNick Mathewson2022-05-191-1/+1
* DirMgr: Unify error return pathsNick Mathewson2022-05-171-13/+23
* DirMgr: Improve display for DocSourceNick Mathewson2022-05-161-3/+11
* DirMgr: make DocSource useful by having it include dirserver info.Nick Mathewson2022-05-161-4/+5
* Resolve DOCDOC comments in tor-dirmgr.Nick Mathewson2022-05-121-4/+2
* Adjust if-modified-since field on the basis of tolerated skewNick Mathewson2022-05-111-26/+68
* Add DirSkewTolerance section to DirMgr configuration.Nick Mathewson2022-05-111-2/+2
* tor-dirmgr: move apply_netdir_changes() to be a DirMgr methodeta2022-05-101-3/+75
* tor-dirmgr/state.rs: take an object to get a netdir, not a netdireta2022-05-101-3/+5
* tor-dirmgr/state.rs: remove GetConsensusState::bodge_neweta2022-05-101-6/+24
* tor-dirmgr/state.rs: use the NetDirChange API instead of WriteNetDireta2022-05-101-0/+1
* tor-dirmgr/state.rs: refactor GetConsensusState::neweta2022-05-101-2/+3
* tor-dirmgr: move DirState to state.rseta2022-05-101-75/+1
* tor-dirmgr: make note_request_* functions standaloneeta2022-05-101-64/+0
* tor-dirmgr/bootstrap.rs: refactor query_into_requests, make it usedeta2022-05-101-49/+43
* tor-dirmgr: move query_into_requests into bootstrap.rseta2022-05-101-43/+8
* tor-dirmgr/bootstrap.rs: refactor load_all -> load_documents_from_storeeta2022-05-101-2/+5
* tor-dirmgr/lib.rs: move DirMgr::load_documents_into to DocQueryeta2022-05-101-55/+3
* tor-dirmgr: make DownloadScheduleBuilder publicIan Jackson2022-05-041-1/+1
* Change builder list APIIan Jackson2022-05-041-1/+1
* DirMgrConfig: Remove unnecessary accessorsIan Jackson2022-04-261-4/+4
* DownloadSchedule: Abolish accessors in DownloadScheduleConfigIan Jackson2022-04-261-1/+1
* Introduce AuthorityListBuilder in NetworkConfigBuilderIan Jackson2022-04-251-1/+1
* Refactor FirstHopId into type-differentiated formNick Mathewson2022-03-301-6/+4
* Rename Guard=>FirstHop, GuardId=>FirstHopIdNick Mathewson2022-03-301-4/+4
* Rename ExternalFailure => ExternalActivity.Nick Mathewson2022-03-301-4/+4
* Add status tracking to FallbackDir.Nick Mathewson2022-03-301-0/+11
* Move fallback.rs into guardmgr.Nick Mathewson2022-03-301-1/+1
* Make daemon tasks self-contained; introduce NetDirProvidereta2022-03-301-16/+9