aboutsummaryrefslogtreecommitdiff
path: root/crates/tor-dirmgr/src/bootstrap.rs
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove usage of tracing-test 0.1Nick Mathewson2021-11-111-2/+0
| | | | | | | | It requires tracing-subscriber 0.2, which is a lower version than we want, and which causes trouble with our minimal-versions CI test. There is a pending issue to fix this; we can reinstate tracing-test once it is merged: https://github.com/dbrgn/tracing-test/pull/11
* Tests for tor-dirmgr::bootstrapNick Mathewson2021-11-111-0/+215
|
* Merge branch 'share_state'Nick Mathewson2021-10-211-9/+7
|\
| * Mark consensus as "not-pending" even if its microdescs come from cache.Nick Mathewson2021-10-201-1/+1
| | | | | | | | | | | | | | Previously our code would clear the 'pending' flag on a consensus only when a _downloaded_ md made it become usable. Closes #199.
| * Move tor-dirmgr to use a sync::Mutex.Nick Mathewson2021-10-201-8/+6
| | | | | | | | | | The futures::lock::Mutex was unnecessary, since we never held it when we were suspending.
* | Fix most warnings from nightly.Nick Mathewson2021-10-191-3/+4
|/ | | | (One represents code that I forgot to write.)
* Add a few tracing directives to tor-dirmgr.Nick Mathewson2021-10-131-1/+7
|
* Don't report the bootstrap as completed unless it actually succeeds.Nick Mathewson2021-10-131-1/+4
| | | | | (Previously we'd report it as successful even if the inner download task was a failure.)
* Move all crates into a `crates` subdirectory.Nick Mathewson2021-08-271-0/+320
This will cause some pain for now, but now is really the best time to do this kind of thing.