summaryrefslogtreecommitdiff
path: root/crates/tor-dirmgr/src/state.rs
Commit message (Expand)AuthorAgeFilesLines
* Merge branch 'no-system-time' into 'main'eta2022-03-301-1/+1
|\
| * remove most usage of SystemTime::nowtrinity-1686a2022-02-251-1/+1
* | Abolish filter::DynFilter in favour of transparent DirFilterIan Jackson2022-03-251-7/+5
* | dirmgr: Initial DirFilter code.Nick Mathewson2022-03-241-0/+29
* | dirmgr: Authority: Abolish v3ident accessorIan Jackson2022-03-181-1/+1
* | Merge branch 'md_allocation' into 'main'Nick Mathewson2022-03-171-20/+54
|\ \
| * | Run rustfmtIan Jackson2022-03-171-5/+6
| * | GetMicrodescsState: Abolish separate n_missing field inIan Jackson2022-03-171-12/+12
| * | GetMicrodescsState: Break out with_mdreceiver_for_missingIan Jackson2022-03-171-13/+23
| * | GetMicrodescsState: Dedupe slightlyIan Jackson2022-03-171-8/+9
| * | tor-dirmgr: Remove redundant hashtable.Nick Mathewson2022-03-161-22/+44
* | | DirMgrConfig: abolish builder; make it transparent and exhaustiveIan Jackson2022-03-161-5/+5
|/ /
* | dirmgr: Call shrink_to_fit on missing-microdesc hashtableNick Mathewson2022-03-101-0/+7
* | Use RsaIdentity::from_hex() and hex::decode_to_slice in more placesNick Mathewson2022-03-041-2/+1
|/
* dirmgr::Store.expire_all takes configtharvik2022-02-231-2/+2
* dirmgr: add Store traittharvik2022-02-231-16/+24
* dirmgr: Remember where netdocs came from.Nick Mathewson2022-02-161-12/+20
* dirmgr: eliminate StringParsingError.Nick Mathewson2022-02-161-3/+4
* dirmgr: HasKind for internal and sqlite errorsNick Mathewson2022-02-161-2/+3
* Fix test failure in tor_dirmgr::state::test::get_microdescs_stateNick Mathewson2022-01-271-1/+12
* bootstrap reporting: Documentation fixups from review.Nick Mathewson2022-01-191-1/+2
* tor-dirmgr: Create a bootstrap-status exporting mechanism.Nick Mathewson2022-01-181-3/+69
* Fixup broken doc comment from arti!220eta2022-01-101-1/+1
* Merge branch 'ticket_178' into 'main'eta2022-01-101-9/+73
|\
| * Only replace netdir once we have enough guard MDs.Nick Mathewson2022-01-061-9/+73
* | Fix busy-loop when consensus is near expiring.Nick Mathewson2022-01-071-1/+14
|/
* tor-dirmgr: retain cache_usage on reset.Nick Mathewson2021-12-161-4/+19
* Merge branch 'flag-publish-2' into 'main'eta2021-12-161-5/+3
|\
| * Refactor directory events to use a FlagPublisher mechanism.Nick Mathewson2021-12-141-5/+3
* | tor-dirmgr: Warn on a bug case.Nick Mathewson2021-12-161-2/+1
|/
* Make override_net_params take effect sooner.Nick Mathewson2021-12-071-1/+4
* Make much of DirMgrConfig reconfigurable.Nick Mathewson2021-12-071-8/+10
* deglob some enums, use concise iteration syntaxDaniel Eades2021-11-251-1/+1
* More typo fixes that I forgot to save :(Nick Mathewson2021-11-241-1/+1
* Rename RetryConfig to DownloadSchedule, fold in parallelism.Nick Mathewson2021-11-181-19/+10
* Fix typosDimitris Apostolou2021-11-121-1/+1
* More tests on tor-dirmgr::stateNick Mathewson2021-11-081-25/+111
* Remove one more test println!().Nick Mathewson2021-11-041-1/+0
* Remove some dbg!() calls in real code.Nick Mathewson2021-11-021-1/+0
* tor-dirmgr: tests for GetMicrodescsStateNick Mathewson2021-10-281-0/+100
* tor-dirmgr: tests for download schedules.Nick Mathewson2021-10-281-0/+23
* tor-dirmgr: Test for GetCertsStateNick Mathewson2021-10-281-5/+115
* tor-dirmgr: Tests for GetConsensusState.Nick Mathewson2021-10-281-0/+148
* tor-dirmgr::state: Mock the view of current time.Nick Mathewson2021-10-281-3/+25
* Migrate tor-dirmgr from chrono to time 0.3Nick Mathewson2021-10-241-4/+4
* Merge branch 'share_state'Nick Mathewson2021-10-211-17/+32
|\
| * Mark consensus as "not-pending" even if its microdescs come from cache.Nick Mathewson2021-10-201-4/+24
| * Move tor-dirmgr to use a sync::Mutex.Nick Mathewson2021-10-201-13/+8
* | Fix most warnings from nightly.Nick Mathewson2021-10-191-0/+1
|/
* Remove useless into() conversions caught by clippy.Jani Monoses2021-10-181-9/+9