<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-netdir/src/lib.rs, branch arti-v1.4.4</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.4.4</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.4.4'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2025-04-29T22:52:39Z</updated>
<entry>
<title>tor-netdir: Warn on one more case of insufficient items</title>
<updated>2025-04-29T22:52:39Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-04-29T19:25:23Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ad2560e2efb80cc44b09d15eff0c761857142ac7'/>
<id>urn:sha1:ad2560e2efb80cc44b09d15eff0c761857142ac7</id>
<content type='text'>
Now that choose_multiple_weighted can once more return
fewer items than requested, we should warn when it does so,
to be consistent with our other cases of warning about #1907.
</content>
</entry>
<entry>
<title>tor-netdir: test for rand 0.9.1 behavior instead of 0.9.0</title>
<updated>2025-04-29T22:52:34Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-04-29T19:20:59Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3b0cef1642702641acb55046792af8aae5a26b8f'/>
<id>urn:sha1:3b0cef1642702641acb55046792af8aae5a26b8f</id>
<content type='text'>
Rand 0.9.1 reverted the changes that caused #1903,
in https://github.com/rust-random/rand/pull/1623.

This broke our test that made sure that rand wasn't going to change
their behavior _again_ :)
</content>
</entry>
<entry>
<title>Rename recommended_protocols to protocol_statuses.</title>
<updated>2025-04-16T23:06:51Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-04-16T11:59:00Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=461a2467f90dbd2bf4f4b900fc0816aa4c906fdb'/>
<id>urn:sha1:461a2467f90dbd2bf4f4b900fc0816aa4c906fdb</id>
<content type='text'>
This name reflects its purpose better than the original one,
since it includes required protocols as well as recommended ones.
</content>
</entry>
<entry>
<title>netdir: Add a recommended_protocols() to NetDirProvider</title>
<updated>2025-04-16T23:06:51Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-04-07T14:59:29Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=42e01549f946f5f23ab004fe2ed82fc9279d8e8d'/>
<id>urn:sha1:42e01549f946f5f23ab004fe2ed82fc9279d8e8d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>dirmgr, netdir: Store protocol requirments as soon as they are validated.</title>
<updated>2025-04-16T23:06:51Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-04-03T15:20:32Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=98f28d0b4c5c2b90ed732ed29d571f71a48c15b4'/>
<id>urn:sha1:98f28d0b4c5c2b90ed732ed29d571f71a48c15b4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix another miscapitalized "MicroDesc"</title>
<updated>2025-04-16T23:06:51Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-04-02T17:38:51Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=fdfc4b9fa5ac731e19a99f48cf07c4d441bac101'/>
<id>urn:sha1:fdfc4b9fa5ac731e19a99f48cf07c4d441bac101</id>
<content type='text'>
</content>
</entry>
<entry>
<title>netdir: Add a (hopefully) temporary workaround</title>
<updated>2025-03-25T12:05:56Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-03-24T18:46:05Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=57c7a289513e2f0faf0844c6dee7513a59e703f3'/>
<id>urn:sha1:57c7a289513e2f0faf0844c6dee7513a59e703f3</id>
<content type='text'>
Instead of doing the more sensible thing when every relay has weight
0, give a warning message.
</content>
</entry>
<entry>
<title>netdir: Another test for choose_multiple_weighted.</title>
<updated>2025-03-25T12:05:56Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-03-24T12:57:02Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8c411a9d7394477cc9ad4dc6b5f3813cbe23a359'/>
<id>urn:sha1:8c411a9d7394477cc9ad4dc6b5f3813cbe23a359</id>
<content type='text'>
Here we test the (arguably inconsistent behavior) where can we
return fewer items than requested if no item had zero weight.
(If this ever becomes an error, we need to modify the calling code.)
</content>
</entry>
<entry>
<title>netdir: Warn on unexpected WeightedErrors</title>
<updated>2025-03-25T12:05:56Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-03-24T12:49:54Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=80553fb534303f7a10c34c5a52b90ae875eb0620'/>
<id>urn:sha1:80553fb534303f7a10c34c5a52b90ae875eb0620</id>
<content type='text'>
WeightedError::InsufficientNonzero is expected under some
circumstances, but the other instances would mean that we have a
bug.
</content>
</entry>
<entry>
<title>netdir: add a test to verify weighted sampling</title>
<updated>2025-03-25T12:05:56Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-03-24T12:34:36Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=69bf56db10dfc9ab439360c24e34988316630856'/>
<id>urn:sha1:69bf56db10dfc9ab439360c24e34988316630856</id>
<content type='text'>
We want to make sure that behavior for 0-weighted elements is
consistent for choose_multiple_weighted and choose_weighted.
</content>
</entry>
</feed>
