- Mar 21, 2022
-
-
Nick Mathewson authored
This commit refactors the dirclient error type into two cases: errors when constructing a circuit, and errors that occur once we already have a one-hop circuit. The latter can usually be attributed to the specific cache we're talking to. This commit also adds a function to expose the information about which directory gave us the info.
-
Nick Mathewson authored
We already have the ability to get peer information from ChanMgr errors, and therefore from any RetryErrors that contain ChanMgr errors. This commit adds optional peer information to tor-proto errors, and a function to expose whatever peer information is available.
-
Nick Mathewson authored
It'll soon more convenient to pass in FallbackDirs as a slice of references, rather than just a slice of FallbackDirs: I'm going to be changing how we handle these in tor-dirmgr.
-
- Mar 18, 2022
-
-
- Mar 17, 2022
-
-
Nick Mathewson authored
Closes #415
-
Nick Mathewson authored
-
- Mar 16, 2022
-
-
Ian Jackson authored
-
- Mar 14, 2022
-
-
trinity-1686a authored
-
-
Nick Mathewson authored
These documents explain how to profile arti for CPU and memory, and how to simulate different kinds of breakage and misconfiguration. They aren't at all in their final form, but I figure it's useful to check them in so that more people can look at them, and make suggestions.
-
Ian Jackson authored
-
- Mar 11, 2022
-
-
Nick Mathewson authored
This should save around 1MB per consensus, since every relay has a 'protocols' lines, but there are only a few distinct possibilities for such a line. Closes #385.
-
Nick Mathewson authored
-
Nick Mathewson authored
When the version is a Tor version, we can just parse it; otherwise, we can intern it. This shrinks GenericRouterStatus and avoids a lot of extra help allocations.
-
Ian Jackson authored
-
Ian Jackson authored
-
Nick Mathewson authored
Make update_config only conditionally exported; add semver-status update.
-
- Mar 07, 2022
-
-
Ian Jackson authored
-
Ian Jackson authored
Replace the recapitulation of TorClientConfig fields in ArtiConfig and instead just have it contain one. This is part of #374. The conversions from ArtiConfig back to ArtiConfigBuilder and TorClientConfigBuilder would need to change, but, since we don't want them anyway, No longer impl Deserialize for ArtiConfig. (As per #371 this will want to become a private type.) No longer impl From<ArtiConfig> for ArtiConfigBuilder and TorClientConfigBuilder. And abolish tests of that code. (This all has to be in one commit, because previously ArtiConfig::tor_client_config used the validated-to-builder config retcon.)
-
- Mar 04, 2022
-
-
Nick Mathewson authored
We perform this operation in a bunch of places, and most of them use hex::decode(). That's not great, since hex::decode() has to do heap allocation. This implementation uses hex::decode_to_slice(), which should be faster. (In the future we might choose to use one of the faster hex implementations, but I'm hoping that this change will be sufficient to get hex decoding out of our profiles.) Part of #377.
-
- Mar 03, 2022
-
-
Nick Mathewson authored
Previously they returned an Arc, which wasn't necessary unless the client actually _wanted_ a new Arc. This would be an API break, except that these functions are marked 'experimental-api', so semver does not apply; nonetheless I've noted the break in semver_status.md, just in case we care. Closes #369
-
- Mar 01, 2022
-
-
Ian Jackson authored
-
- Feb 28, 2022
-
-
Nick Mathewson authored
-
Nick Mathewson authored
-
- Feb 18, 2022
-
-
Ian Jackson authored
Update all references. There are three remaining hits for git-grep '\.py\b' all of which are scripts in "little-t-tor", not here in arti.
-
Ian Jackson authored
As per #309 Update all references. There is one remaining hit for git-grep '\.sh\b' namely "build.sh" in maint/reproducible_build, which I think is the build script for osxcross - ie, an external project.
-
- Feb 10, 2022
-
-
Dimitris Apostolou authored
-
- Feb 04, 2022
-
-
Ian Jackson authored
-
Ian Jackson authored
-
- Feb 02, 2022
-
-
Dimitris Apostolou authored
-
- Jan 31, 2022
-
-
Nick Mathewson authored
-
- Jan 27, 2022
-
-
eta authored
This is a nice reminder to have before we solve arti#303 for good.
-
- Jan 21, 2022
-
-
-
Nick Mathewson authored
Part of #277
-
- Jan 20, 2022
-
-
Ian Jackson authored
-
Ian Jackson authored
-
Ian Jackson authored
-
Ian Jackson authored
-
-
- Jan 19, 2022
-
-
Ian Jackson authored
-