<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-guardmgr/src/vanguards/set.rs, branch arti-v1.3.1</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.3.1</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.3.1'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2024-09-10T14:26:02Z</updated>
<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>
<entry>
<title>tor-guardmgr: Prevent misleading logs when not rotating vanguards.</title>
<updated>2024-04-29T18:07:56Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-04-29T18:02:55Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3450d19bb670fd274559e03c340745e5aafc6775'/>
<id>urn:sha1:3450d19bb670fd274559e03c340745e5aafc6775</id>
<content type='text'>
`rotate_expired()` now only logs that it is rotating the vanguards if
some existing vanguards have actually expired.
</content>
</entry>
<entry>
<title>tor-guardmgr: Remove unnecessary clippy allows.</title>
<updated>2024-04-29T13:10:37Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-04-23T17:52:39Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=04f4b4290aabbea6a7c9cf7be1e8f9b445a4b11a'/>
<id>urn:sha1:04f4b4290aabbea6a7c9cf7be1e8f9b445a4b11a</id>
<content type='text'>
None of these should be unused anymore.
</content>
</entry>
<entry>
<title>tor-guardmgr: Remove unnecessary VanguardSetsTrackedMut contraption.</title>
<updated>2024-04-22T16:23:17Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-04-22T15:52:32Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3502a6270c7d50424bc5772834e24b299fb36049'/>
<id>urn:sha1:3502a6270c7d50424bc5772834e24b299fb36049</id>
<content type='text'>
The VanguardMgr now unconditionally flushes the vanguard sets to disk
each time there's a consensus change, and every time a vanguard
expires.

Prompted by https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2090#note_3021013
</content>
</entry>
</feed>
