<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-netdir/src/err.rs, branch arti-v1.0.0</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.0.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.0.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2022-07-26T09:40:53Z</updated>
<entry>
<title>Add new APIs to NetDirProvider to better support timeliness.</title>
<updated>2022-07-26T09:40:53Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-07-25T14:55:23Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c39aa5de73fb8f1747752b7b722e8b94b01e315b'/>
<id>urn:sha1:c39aa5de73fb8f1747752b7b722e8b94b01e315b</id>
<content type='text'>
Over the years we've found that most callers who want a netdir want
what C Tor calls a "reasonably live" network directory: One that is
not expired by too much, or too far in the future. But a few want a
_strictly_ live directory: one that says it is valid now, with no
tolerances.  And a few want _any_ directory, no matter how expired
it is.

This commit adds net methods to NetDirProvider to provide these
directories.  I think that most use cases will want to explicitly
think about what kind of directory they want, so I've made `netdir`
the simplest method.  I might remove `timely_netdir` by the end of
this branch; see TODO comments.

Part of #518.
</content>
</entry>
<entry>
<title>tor-netdir: Split testnet errors into a new type</title>
<updated>2022-02-15T19:43:36Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-02-15T19:43:36Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=058e4d7705c09b9e5a9d45e10b84a409308235b2'/>
<id>urn:sha1:058e4d7705c09b9e5a9d45e10b84a409308235b2</id>
<content type='text'>
There's no reason to have the test-network-construction code share an
error enum with the main netdir code.
</content>
</entry>
<entry>
<title>tor-netdir: remove unused error variants</title>
<updated>2022-02-15T19:36:15Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-02-15T19:36:15Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ceb8e8c1e2864fbd326cf59c814209cf67e10a07'/>
<id>urn:sha1:ceb8e8c1e2864fbd326cf59c814209cf67e10a07</id>
<content type='text'>
This turns out to have been most of them, which
simplifies matters a lot.
</content>
</entry>
<entry>
<title>netdoc: Make doc-build errors a separate type</title>
<updated>2022-02-14T15:46:04Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-02-14T15:46:04Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b27c51d3a2ad4a7b8ec00c2a06be55af9459507a'/>
<id>urn:sha1:b27c51d3a2ad4a7b8ec00c2a06be55af9459507a</id>
<content type='text'>
Every other case of tor_netdoc::Error means a parse failure.  This one,
though, means a failure to construct  a document.
</content>
</entry>
<entry>
<title>Move all crates into a `crates` subdirectory.</title>
<updated>2021-08-27T13:53:09Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-08-27T13:53:09Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=557a0ff40b3731d4690767de27010bbeff08777d'/>
<id>urn:sha1:557a0ff40b3731d4690767de27010bbeff08777d</id>
<content type='text'>
This will cause some pain for now, but now is really the best time
to do this kind of thing.
</content>
</entry>
</feed>
