summaryrefslogtreecommitdiff
path: root/crates/arti-client/src/status.rs
Commit message (Collapse)AuthorAgeFilesLines
* arti-client: Fix formattinghjrgrn2026-07-101-5/+1
|
* multiple crates: Fix clippy warningshjrgrn2026-07-101-1/+1
|
* client: Reflect manually disabled bootstrap in statusNick Mathewson2026-06-021-1/+36
| | | | | If we have made bootstrapping manual, and not launched a bootstrap, we now reflect this as the reason that bootstrapping is blocked.
* arti-client: Port to web-time-compat.Nick Mathewson2026-03-261-4/+5
|
* Upgrade to derive_more version 1.0.0Nick Mathewson2024-09-251-9/+8
| | | | | | The `derive_more` crate broke backward compatibility with this version, so this change involved quite a few manual fixups. With luck, they'll keep compatibility for some while in the future.
* arti-client: add accessors for `Blockage`eta2023-03-281-1/+13
| | | | Fixes #800.
* Fix typoDimitris Apostolou2022-06-281-1/+1
|
* Report directory blockage problems from arti-client.Nick Mathewson2022-06-141-1/+16
| | | | Closes #468.
* DirMgr: Track errors, stalls, and resets as part of status.Nick Mathewson2022-06-131-0/+1
| | | | | | | | | | | | | | A "reset" happens whenever we have to start a download attempt over -- either because we ran out of retries, or we found something wrong with the consensus after fetching certificates. An "error" happens when we have a recoverable error from one or more directory sources. A "stall" happens whenever a round of downloads or cache loads leads to no change in the status. We don't yet use this as part of our status reporting.
* arti-client: Report clock skew when it is noteworthyNick Mathewson2022-04-121-6/+45
| | | | | (Also, blame clock skew when it is an explanation of why we cannot finish a connection.)
* Fix a let_and_return lint violation that had somehow slipped in.Nick Mathewson2022-03-301-3/+1
|
* Remove allow(clippy::disallowed_methods) lint.Nick Mathewson2022-03-301-2/+0
|
* Merge branch 'no-system-time' into 'main'eta2022-03-301-1/+5
|\ | | | | | | | | | | | | Don't use SystemTime::now() Closes #306 See merge request tpo/core/arti!365
| * remove most usage of SystemTime::nowtrinity-1686a2022-02-251-1/+5
| |
* | Merge branch 'educe-traits' into 'main'Ian Jackson2022-03-041-9/+5
|\ \ | | | | | | | | | | | | Replace many manual trait impls with use of educe See merge request tpo/core/arti!375
| * | Move skip_fmt into tor-basic-utilsIan Jackson2022-03-041-1/+1
| | | | | | | | | | | | | | | | | | | | | Code motion and the minimal mechanical changes. As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/375#note_2783078
| * | Replace manual Debug impl with educe in arti-clientIan Jackson2022-03-021-9/+5
| |/
* / Add a builder function for replacing a DirProvider.Nick Mathewson2022-02-231-2/+2
|/ | | | Put it behind experimental_api.
* Integrate status information at arti-clientNick Mathewson2022-01-181-31/+71
| | | | | | | | | | | | | | | | | This commit combines status update information from tor-dirmgr and tor-chanmgr in the arti-client crate, so that the user can get to it; it represents a high-level view of the client's ability to reach the network and route traffic. I have omitted the tor-circmgr support for now; it's mostly not needed. At present it's not so useful, since there's no way for a client to get a TorClient that _isn't_ completely bootstrapped, and therefore there's no way to actually watch these events until they're no longer interesting. That should change with arti#293. This is part of #96.
* Implement the basics of a bootstrap-status API.Nick Mathewson2022-01-131-0/+175
The purpose of a this API is to tell the user how far along Arti is in getting bootstrapped, and if it's stuck, what it's stuck on. This API doesn't yet expose any useful information: by the time it's observable to a client, it's always "100% bootstrapped." But I'm putting it in a MR now so that we can review the basic idea, and to avoid conflicts with later work on tickets like #293 and #278. This is part of #96.