summaryrefslogtreecommitdiff
path: root/crates/tor-dirmgr/src
Commit message (Expand)AuthorAgeFilesLines
* DirMgr:: Remove Error::NoChange as redundant.Nick Mathewson2022-05-253-72/+25
* Merge branch 'bug482' into 'main'eta2022-05-242-29/+133
|\
| * DirMgr: Stop load-from-cache process when there is no change.Nick Mathewson2022-05-242-29/+133
* | fs-mistrust: make Mistrust have a corresponding Builder type.Nick Mathewson2022-05-242-8/+8
|/
* Simplify advance and reset functions with mem::replace.Nick Mathewson2022-05-191-8/+4
* Explain why we call update_status unconditionally.Nick Mathewson2022-05-191-0/+3
* Remove BootstrapAction::ImpossibleNick Mathewson2022-05-193-7/+4
* Fix compilation with Rust 1.56.Nick Mathewson2022-05-171-3/+2
* DirMgr: Remove blocking_error return path.Nick Mathewson2022-05-172-53/+29
* DirMgr: Unify error return pathsNick Mathewson2022-05-173-170/+262
* DirMgr: Remove special handling of "changed" booleanNick Mathewson2022-05-172-84/+69
* DirMgr: Start refactoring error handling.Nick Mathewson2022-05-172-3/+96
* 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
* DirMgr: Blame the correct cache for consensus validation failureNick Mathewson2022-05-161-2/+15
* Move consensus signature verification to add-document code.Nick Mathewson2022-05-161-22/+95
* On a blocking error, blame the appropriate directory cacheNick Mathewson2022-05-162-0/+22
* DirMgr: Add a way for a state to report a blocking error.Nick Mathewson2022-05-162-7/+26
* Implement nonfatal errors in add_from_*Nick Mathewson2022-05-161-52/+91
* DirMgr: Let add_from_* distinguish non-fatal errorsNick Mathewson2022-05-162-54/+79
* DirMgr: Improve display for DocSourceNick Mathewson2022-05-161-3/+11
* DirMgr: make DocSource useful by having it include dirserver info.Nick Mathewson2022-05-163-22/+47
* Merge branch 'main' into 'ticket_466'Nick Mathewson2022-05-163-10/+7
|\
| * Merge branch 'network-config-error' into 'main'Nick Mathewson2022-05-121-5/+0
| |\
| | * Delete tor_dirmgr::Error::BadNetworkConfigIan Jackson2022-05-121-5/+0
| * | Resolve DOCDOC comments in tor-dirmgr.Nick Mathewson2022-05-122-5/+7
* | | dirmgr: use set_skew_limit.Nick Mathewson2022-05-111-0/+9
|/ /
* | Adjust if-modified-since field on the basis of tolerated skewNick Mathewson2022-05-112-29/+84
* | tor-dirmgr: update status reporting to consider skew toleranceNick Mathewson2022-05-113-24/+84
* | Make reset_time() for incomplete directories more generous.Nick Mathewson2022-05-111-10/+35
* | Add DirSkewTolerance section to DirMgr configuration.Nick Mathewson2022-05-113-2/+63
|/
* tor-dirmgr: move apply_netdir_changes() to be a DirMgr methodeta2022-05-102-79/+80
* tor-dirmgr: small fixups for the bootstrapping refactoreta2022-05-103-16/+10
* tor-dirmgr/bootstrap.rs: error on older netdirs, add log lineeta2022-05-102-0/+26
* tor-dirmgr/state.rs: take an object to get a netdir, not a netdireta2022-05-102-12/+29
* tor-dirmgr/state.rs: remove GetConsensusState::bodge_neweta2022-05-102-43/+36
* 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-103-260/+179
* tor-dirmgr/state.rs: add new NetDirChange API, consume iteta2022-05-102-3/+97
* tor-dirmgr/state.rs: feed through additional parameters, use themeta2022-05-102-242/+222
* tor-dirmgr/state.rs: refactor GetConsensusState::neweta2022-05-103-220/+285
* tor-dirmgr: move DirState to state.rseta2022-05-103-78/+80
* tor-dirmgr/bootstrap.rs: refactor fetch_singleeta2022-05-101-31/+34
* tor-dirmgr: make note_request_* functions standaloneeta2022-05-102-72/+80
* tor-dirmgr/bootstrap.rs: refactor query_into_requests, make it usedeta2022-05-102-60/+56
* tor-dirmgr: move query_into_requests into bootstrap.rseta2022-05-102-44/+71
* tor-dirmgr/bootstrap.rs: refactor load_all -> load_documents_from_storeeta2022-05-103-15/+29
* tor-dirmgr/storage.rs: impl Store for Box<dyn Store>eta2022-05-101-0/+87
* tor-dirmgr/lib.rs: move DirMgr::load_documents_into to DocQueryeta2022-05-103-56/+59
* Update tor-dirmgr to use fs-mistrust.Nick Mathewson2022-05-095-86/+114