<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-dirmgr/src/state.rs, branch arti-v1.1.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.1.1</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.1'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2023-01-27T13:28:02Z</updated>
<entry>
<title>Allow clippy::unchecked_duration_subtraction in tests</title>
<updated>2023-01-27T13:28:02Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-01-27T13:01:45Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a6dd92843edf2bd4c58de62a0d562921e4191ada'/>
<id>urn:sha1:a6dd92843edf2bd4c58de62a0d562921e4191ada</id>
<content type='text'>
This panics on error, and we're fine with a panic on misbehavior in
tests.
</content>
</entry>
<entry>
<title>Complete our migration to base64ct.</title>
<updated>2023-01-20T13:06:30Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-01-19T19:50:07Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=889206cde4ef29d7d10bda546f8ad518eb09c290'/>
<id>urn:sha1:889206cde4ef29d7d10bda546f8ad518eb09c290</id>
<content type='text'>
This is in lieu of upgrading to the latest base64 crate, which has
a different API from the old one.  Since we have to migrate either
way, we might as well use base64ct everywhere.

I don't think that most of these cases _require_ constant-time
base64, but it won't hurt.
</content>
</entry>
<entry>
<title>test lint blocks: Do some semi-manually</title>
<updated>2022-12-12T18:00:29Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-12-12T17:57:37Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=baf78361e848269a24a3019d99f87943872e6012'/>
<id>urn:sha1:baf78361e848269a24a3019d99f87943872e6012</id>
<content type='text'>
This is the hunks from running the rune in maint/adhoc-add-lint-blocks
but which require some subsequent manual fixup: usually, deleting
now-superfluous outer allows, but in some cases manually putting back
lints that the adhoc script deleted.
</content>
</entry>
<entry>
<title>Rename DirSkewTolerance to DirTolerance</title>
<updated>2022-07-22T14:04:25Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-07-22T14:04:25Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=41104137b12159d734f1171c1705c4e00f5244cd'/>
<id>urn:sha1:41104137b12159d734f1171c1705c4e00f5244cd</id>
<content type='text'>
This name is more accurate because we aren't only dealing with
clock skew here: we're also trying to tolerate the case where the
authorities fail to reach consensus for a while.
</content>
</entry>
<entry>
<title>Refactor most DirStatus users to use DirProgress.</title>
<updated>2022-06-13T16:22:04Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-06-13T16:22:04Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=68ea880b84c9aedfc276921675f94a257bcc2556'/>
<id>urn:sha1:68ea880b84c9aedfc276921675f94a257bcc2556</id>
<content type='text'>
This is all crate-internal APIs, fortunately.
</content>
</entry>
<entry>
<title>Rename DirStatusInner to DirProgress.</title>
<updated>2022-06-13T14:49:09Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-06-13T14:40:56Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f581feb0acff2d80aa825e4c187e62a2a2b61db2'/>
<id>urn:sha1:f581feb0acff2d80aa825e4c187e62a2a2b61db2</id>
<content type='text'>
This is about to become only a _part_ of what defines a DirStatus: a
DirStatus will also include a reset count, and some kind of info
about how long we've gone without progress.
</content>
</entry>
<entry>
<title>DirMgr:: Remove Error::NoChange as redundant.</title>
<updated>2022-05-25T12:58:37Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-05-25T12:58:37Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0caa5bcba5c3be8aca2fb90331a830d1a22f5e22'/>
<id>urn:sha1:0caa5bcba5c3be8aca2fb90331a830d1a22f5e22</id>
<content type='text'>
Now that the relevant functions now report changed/not-changed
status via a boolean out-parameter (see !527), there's no reason to
have a separate NoChanged error case.

Closes #484.
</content>
</entry>
<entry>
<title>Merge branch 'bug482' into 'main'</title>
<updated>2022-05-24T19:33:42Z</updated>
<author>
<name>eta</name>
<email>tor@eta.st</email>
</author>
<published>2022-05-24T19:33:42Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=608d0cbcc25c7576173312d33569de7468449ad6'/>
<id>urn:sha1:608d0cbcc25c7576173312d33569de7468449ad6</id>
<content type='text'>
DirMgr: Stop load-from-cache process when there is no change.

Closes #482

See merge request tpo/core/arti!527</content>
</entry>
<entry>
<title>fs-mistrust: make Mistrust have a corresponding Builder type.</title>
<updated>2022-05-24T14:54:02Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-05-18T17:26:01Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=95200383b52d1644d4de357c2a8a50d91fdc1021'/>
<id>urn:sha1:95200383b52d1644d4de357c2a8a50d91fdc1021</id>
<content type='text'>
This is an approximately minimal revision to get Builder in place;
subsequent commits will clean up the API.
</content>
</entry>
<entry>
<title>DirMgr: Stop load-from-cache process when there is no change.</title>
<updated>2022-05-24T12:50:20Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-05-24T12:50:20Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8e15c97f56f19ff63cb208f1832827860ad56925'/>
<id>urn:sha1:8e15c97f56f19ff63cb208f1832827860ad56925</id>
<content type='text'>
Previously in !511 I had introduced a bug where, if there was an
error more serious than "no change", that error would keep us from
noticing that we had no change, and we'd loop until the safety
counter ran out.  Then we'd panic.

This commit fixes the bug by reintroducing the `changed` boolean --
this time as an outparam for the add_from_* methods.

Fixes #482.
</content>
</entry>
</feed>
