<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-guardmgr/src/vanguards/set.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-05-20T19:22:08Z</updated>
<entry>
<title>guardmgr, circmgr:  Make vanguard selection take a RelaySelector.</title>
<updated>2025-05-20T19:22:08Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-05-20T17:53:44Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0ec368adc2bc0cb20b04539d0be64dc5cd3563f4'/>
<id>urn:sha1:0ec368adc2bc0cb20b04539d0be64dc5cd3563f4</id>
<content type='text'>
This is the preferred type for choosing a relay,
since unlike a RelayExclusion, it lets us add multiple restrictions,
and a relay usage.
</content>
</entry>
<entry>
<title>squash! Upgrade rand dependency to 0.9.</title>
<updated>2025-03-18T16:09:44Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-03-18T14:26:16Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0805d27122b929f2eaa75f56761cb0da210d5b13'/>
<id>urn:sha1:0805d27122b929f2eaa75f56761cb0da210d5b13</id>
<content type='text'>
- Several methods have been moved out of SliceRandom.
</content>
</entry>
<entry>
<title>squash! Upgrade rand dependency to 0.9.</title>
<updated>2025-03-18T16:09:44Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-03-18T13:01:31Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2f8993c22c2b86010e4fd8b5169ef0ab83f8c754'/>
<id>urn:sha1:2f8993c22c2b86010e4fd8b5169ef0ab83f8c754</id>
<content type='text'>
- `rand::thread_rng()` has been deprecated and renamed to `rand::rng()`
</content>
</entry>
<entry>
<title>tor-guardmgr: Convert a TODO into a NOTE.</title>
<updated>2024-09-10T14:26:02Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-09-10T14:24:15Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1d71d47171b886e66eb21422fff2dcd6840f0d92'/>
<id>urn:sha1:1d71d47171b886e66eb21422fff2dcd6840f0d92</id>
<content type='text'>
This behavior is OK, so this doesn't need to be a TODO.

See the discussion at
https://gitlab.torproject.org/tpo/core/arti/-/issues/1352#note_3015217

Closes #1352
</content>
</entry>
<entry>
<title>Fix typos</title>
<updated>2024-09-03T08:09:02Z</updated>
<author>
<name>Dimitris Apostolou</name>
<email>dimitris.apostolou@icloud.com</email>
</author>
<published>2024-09-03T08:09:02Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=676f913463b7d84f34dd6101b99d03ef79cf57ad'/>
<id>urn:sha1:676f913463b7d84f34dd6101b99d03ef79cf57ad</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-guardmgr: Return a BootstrapRequired error if all the sets are empty.</title>
<updated>2024-05-09T16:37:39Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-05-09T10:50:41Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ed4c57dbfb538fa5f270b6ca83b651c5ae8c8700'/>
<id>urn:sha1:ed4c57dbfb538fa5f270b6ca83b651c5ae8c8700</id>
<content type='text'>
Previously, `select_vanguard` returned a `NoSuitableRelay` error if
it was unable to select a relay to use as a vanguard.

We now distunguish the "there are no suitable relays in the vanguard
sets" (`NoSuitableRelays`) error case from the "our vanguard sets are
empty" (`BootstrapRequired`) one.
</content>
</entry>
<entry>
<title>tor-guardmgr: Remove TODO about removing Vanguard abstraction.</title>
<updated>2024-05-09T16:37:39Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-05-09T10:11:58Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1da0bac05f857508507aa722806fe19af79c32fe'/>
<id>urn:sha1:1da0bac05f857508507aa722806fe19af79c32fe</id>
<content type='text'>
I think it's alright to keep it: it gives us the flexibility to extend
it later on, if needed.
</content>
</entry>
<entry>
<title>tor-guardmgr: Remove a TODO HS-VANGUARDS.</title>
<updated>2024-05-09T16:37:39Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-05-09T10:03:20Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c73b2791e67290cf9f6889fdd5f4a96f5a121446'/>
<id>urn:sha1:c73b2791e67290cf9f6889fdd5f4a96f5a121446</id>
<content type='text'>
This TODO doesn't really need to be implemented: we can test the
`VanguardMgr` just the same without it (`GuardMgrInner` is similar, in
that it doesn't mock the rng).
</content>
</entry>
<entry>
<title>tor-guardmgr: Make remove_unlisted return the number of unlisted vanguards.</title>
<updated>2024-04-30T09:37:45Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-04-30T09:37:45Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=866aab7a9d567a7e9af101332c85d600b640a552'/>
<id>urn:sha1:866aab7a9d567a7e9af101332c85d600b640a552</id>
<content type='text'>
For symmetry with remove_expired.
</content>
</entry>
<entry>
<title>tor-guardmgr: Make remove_expired return the number of expired vanguards.</title>
<updated>2024-04-30T09:37:36Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-04-30T09:36:14Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=43039566744ba69dac903b3d9f081d112eb30395'/>
<id>urn:sha1:43039566744ba69dac903b3d9f081d112eb30395</id>
<content type='text'>
Prompted by https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2109#note_3024672
</content>
</entry>
</feed>
