summaryrefslogtreecommitdiff
path: root/crates/tor-dirmgr/src/state.rs
Commit message (Expand)AuthorAgeFilesLines
* Downgrade and clarify message about dir replacment time.Nick Mathewson2023-05-081-8/+12
* Merge branch 'fix_802_core' into 'main'Ian Jackson2023-04-181-1/+6
|\
| * DirMgr: Detect that directory state is ready if it begins with all MDsNick Mathewson2023-04-101-1/+6
* | Use bool::then_some() as appropriateNick Mathewson2023-04-111-1/+1
|/
* tor-netdoc: Change fill_from_previous_netdirIan Jackson2023-02-091-1/+1
* Use ErrorReport - run rustfmtIan Jackson2023-01-301-1/+5
* Use ErrorReport for errors in warn! in tor-dirmgrIan Jackson2023-01-301-2/+2
* Allow clippy::unchecked_duration_subtraction in testsNick Mathewson2023-01-271-0/+1
* Complete our migration to base64ct.Nick Mathewson2023-01-201-1/+2
* test lint blocks: Do some semi-manuallyIan Jackson2022-12-121-0/+8
* Rename DirSkewTolerance to DirToleranceNick Mathewson2022-07-221-1/+1
* Refactor most DirStatus users to use DirProgress.Nick Mathewson2022-06-131-16/+17
* Rename DirStatusInner to DirProgress.Nick Mathewson2022-06-131-4/+4
* DirMgr:: Remove Error::NoChange as redundant.Nick Mathewson2022-05-251-38/+16
* Merge branch 'bug482' into 'main'eta2022-05-241-20/+105
|\
| * DirMgr: Stop load-from-cache process when there is no change.Nick Mathewson2022-05-241-20/+105
* | fs-mistrust: make Mistrust have a corresponding Builder type.Nick Mathewson2022-05-241-1/+1
|/
* Fix compilation with Rust 1.56.Nick Mathewson2022-05-171-3/+2
* DirMgr: Remove blocking_error return path.Nick Mathewson2022-05-171-26/+22
* DirMgr: Unify error return pathsNick Mathewson2022-05-171-84/+133
* DirMgr: Remove special handling of "changed" booleanNick Mathewson2022-05-171-53/+43
* DirMgr: Start refactoring error handling.Nick Mathewson2022-05-171-1/+4
* Give an error if the cache violates If-Modified-Since.Nick Mathewson2022-05-161-7/+24
* Add missing extend_tolerance to add_consensus_text.Nick Mathewson2022-05-161-0/+1
* Move consensus signature verification to add-document code.Nick Mathewson2022-05-161-22/+95
* DirMgr: Add a way for a state to report a blocking error.Nick Mathewson2022-05-161-0/+5
* Implement nonfatal errors in add_from_*Nick Mathewson2022-05-161-52/+91
* DirMgr: Let add_from_* distinguish non-fatal errorsNick Mathewson2022-05-161-30/+47
* DirMgr: make DocSource useful by having it include dirserver info.Nick Mathewson2022-05-161-17/+35
* tor-dirmgr: update status reporting to consider skew toleranceNick Mathewson2022-05-111-0/+6
* Make reset_time() for incomplete directories more generous.Nick Mathewson2022-05-111-10/+35
* Add DirSkewTolerance section to DirMgr configuration.Nick Mathewson2022-05-111-0/+2
* tor-dirmgr: small fixups for the bootstrapping refactoreta2022-05-101-11/+6
* tor-dirmgr/state.rs: take an object to get a netdir, not a netdireta2022-05-101-9/+24
* tor-dirmgr/state.rs: remove GetConsensusState::bodge_neweta2022-05-101-37/+12
* tor-dirmgr/state.rs: remove WriteNetDir, use filters directlyeta2022-05-101-97/+79
* tor-dirmgr/state.rs: use the NetDirChange API instead of WriteNetDireta2022-05-101-243/+164
* tor-dirmgr/state.rs: add new NetDirChange API, consume iteta2022-05-101-0/+25
* tor-dirmgr/state.rs: feed through additional parameters, use themeta2022-05-101-236/+217
* tor-dirmgr/state.rs: refactor GetConsensusState::neweta2022-05-101-217/+281
* tor-dirmgr: move DirState to state.rseta2022-05-101-2/+77
* Update tor-dirmgr to use fs-mistrust.Nick Mathewson2022-05-091-1/+6
* Change builder list APIIan Jackson2022-05-041-2/+2
* Merge branch 'download-schedule' into 'main'Nick Mathewson2022-04-261-9/+9
|\
| * DirMgrConfig: Remove unnecessary accessorsIan Jackson2022-04-261-5/+5
| * DirMgrConfig: Rename two fields that contained a _configIan Jackson2022-04-261-1/+1
| * DownloadSchedule: Abolish accessors in DownloadScheduleConfigIan Jackson2022-04-261-6/+6
* | Merge branch 'main' into 'msrv_1_56'Nick Mathewson2022-04-261-11/+7
|\|
| * Rename ThingListBuilder::replace (from set)Ian Jackson2022-04-251-2/+2
| * Introduce AuthorityListBuilder in NetworkConfigBuilderIan Jackson2022-04-251-10/+6