<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-netdir/src, branch arti-v0.1.0</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v0.1.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v0.1.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2022-02-15T19:43:36Z</updated>
<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>Merge branch 'doc-errors' into 'main'</title>
<updated>2022-02-15T15:09:48Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-02-15T15:09:48Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7b6a7a57d3dbd74aed17df6f1e088fcb401b21a8'/>
<id>urn:sha1:7b6a7a57d3dbd74aed17df6f1e088fcb401b21a8</id>
<content type='text'>
Refactor errors in tor-netdoc

See merge request tpo/core/arti!314</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>Change deny(clippy::all) to warn(clippy::all).</title>
<updated>2022-02-14T14:24:06Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-02-14T14:24:06Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1cecc7e45a9a432f87a8f11abb8cb86b35464a0b'/>
<id>urn:sha1:1cecc7e45a9a432f87a8f11abb8cb86b35464a0b</id>
<content type='text'>
Closes #338.
</content>
</entry>
<entry>
<title>extend lints to include 'clippy::all'</title>
<updated>2021-12-28T20:15:40Z</updated>
<author>
<name>Daniel Eades</name>
<email>danieleades@hotmail.com</email>
</author>
<published>2021-12-28T20:15:40Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=592642a9e6c1c03e525f8b452f4b97e6fd17ff9b'/>
<id>urn:sha1:592642a9e6c1c03e525f8b452f4b97e6fd17ff9b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge branch 'reconfigure' into 'main'</title>
<updated>2021-12-13T14:49:23Z</updated>
<author>
<name>eta</name>
<email>tor@eta.st</email>
</author>
<published>2021-12-13T14:49:23Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8040f7afb260dd2cb1b863aee897f238017a9564'/>
<id>urn:sha1:8040f7afb260dd2cb1b863aee897f238017a9564</id>
<content type='text'>
Make most arti-client fields reconfigurable.

See merge request tpo/core/arti!181</content>
</entry>
<entry>
<title>tor-netdir: Resolve an XXXX about type ugliness</title>
<updated>2021-12-08T17:32:44Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-12-08T17:21:58Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a25960b44c17e32102d553bf716a542c196882d3'/>
<id>urn:sha1:a25960b44c17e32102d553bf716a542c196882d3</id>
<content type='text'>
We had no function to infallibly convert BoundedInt32&lt;{0 or 1},H&gt;
into a u32, even though we could have.  Because of that, we were
treating weight_scale as an i32 when logically it's a u32 or a
NonZeroU32.

Moreover, it turns out we were using an incorrect minimum for the
bwweightscale param, which would in theory have allowed the
authorities to make us divide by zero.

This patch introduces the necessary From&lt;&gt; implementation and uses
it.  It corrects the binimum bwweightscale, and prevents a
division-by-zero issue in case weight_scale is zero.
</content>
</entry>
<entry>
<title>Remove a couple of spec-related XXXXs in tor-netdir.</title>
<updated>2021-12-08T16:12:33Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-12-08T16:12:33Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6f52b81ce80427d2c1cb006dca871b86cb992cdc'/>
<id>urn:sha1:6f52b81ce80427d2c1cb006dca871b86cb992cdc</id>
<content type='text'>
I've opened torspec!54 to fill in the missing parts of the spec
about these issues.
</content>
</entry>
<entry>
<title>Make override_net_params take effect sooner.</title>
<updated>2021-12-08T00:26:01Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-12-08T00:22:54Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=42ae8c7a2ad776cfdc54c9587a3381a8a3189740'/>
<id>urn:sha1:42ae8c7a2ad776cfdc54c9587a3381a8a3189740</id>
<content type='text'>
This is still not as soon as I'd like: a real change here will require
refactoring DirMgr::notify().
</content>
</entry>
</feed>
