<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-netdir/src/hsdir_params.rs, branch arti-v2.5.0</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v2.5.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v2.5.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2026-06-09T15:36:01Z</updated>
<entry>
<title>maint: Run maint/add_warning to deny string slices</title>
<updated>2026-06-09T15:36:01Z</updated>
<author>
<name>Clara Engler</name>
<email>cve@cve.cx</email>
</author>
<published>2026-06-09T15:36:01Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9f5752a77fb57052c06ead0eeae606831f1e8e97'/>
<id>urn:sha1:9f5752a77fb57052c06ead0eeae606831f1e8e97</id>
<content type='text'>
This commit executes maint/add_warning with the just added change to
deny string slices except in tests.

I recommend auditing this by checking out the previous commit followed
by running the script yourself and then verifying that the diff is
identical to this commit.

This commit makes cargo clippy fail.  We will add exceptions in the next
commit.
</content>
</entry>
<entry>
<title>netdir: Add a debug_assert to ensure the voting interval is non-zero</title>
<updated>2026-05-21T13:01:07Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-05-20T18:11:31Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6daea741ed5dd07321d48a4c4410dacdf49dae1c'/>
<id>urn:sha1:6daea741ed5dd07321d48a4c4410dacdf49dae1c</id>
<content type='text'>
This also adds a test, just make sure creating a `Lifetime` with
voting interval = 0 is actually impossible (and stays that way).
</content>
</entry>
<entry>
<title>netdir: Add a test for start_of_sr_protocol_run()</title>
<updated>2026-05-21T13:01:07Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-05-07T16:02:03Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c8700cfd70a75830ed7c4e1f3ef3fd7a77ca5c0a'/>
<id>urn:sha1:c8700cfd70a75830ed7c4e1f3ef3fd7a77ca5c0a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>netdir: Make start_of_sr_round() fallible</title>
<updated>2026-05-21T13:01:07Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-05-07T10:54:39Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=61cda838872acd7e85bcca1773eed89d873a6f91'/>
<id>urn:sha1:61cda838872acd7e85bcca1773eed89d873a6f91</id>
<content type='text'>
It's better to return a `Bug` than to panic if the consensus valid-after
is invalid.
</content>
</entry>
<entry>
<title>netdir: Remove a no longer needed constant</title>
<updated>2026-05-21T13:01:07Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-05-06T12:58:57Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=669d298917c06a457b2219a56de91793a35658d8'/>
<id>urn:sha1:669d298917c06a457b2219a56de91793a35658d8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>netdir: Remove start_of_day_containing()</title>
<updated>2026-05-21T13:01:07Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-05-06T13:05:56Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1f1e66848eec639f5954146d96bb7aad2fb24846'/>
<id>urn:sha1:1f1e66848eec639f5954146d96bb7aad2fb24846</id>
<content type='text'>
This is no longer used.
</content>
</entry>
<entry>
<title>netdir: Fix SRV lifetime calculation for non-standard voting periods</title>
<updated>2026-05-21T13:01:07Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-05-06T13:00:33Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ee07c441909b41d5fbbfbffae310e954a69db478'/>
<id>urn:sha1:ee07c441909b41d5fbbfbffae310e954a69db478</id>
<content type='text'>
Fixes Arti's SRV lifetime calculation for the case where the voting
interval != 1h, and the consensus doesn't have explicit timestamps for
the SRVs.

Credit goes to dgoulet for this fix!

See also [this thread], and #2458 for the broader context.

Closes #2522

[this thread]: https://gitlab.torproject.org/tpo/core/arti/-/work_items/2458#note_3401343
</content>
</entry>
<entry>
<title>hsdir_params: add debug log when we fall back to disaster params</title>
<updated>2026-04-02T20:19:52Z</updated>
<author>
<name>Jim Newsome</name>
<email>jnewsome@torproject.org</email>
</author>
<published>2026-04-02T19:41:24Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e8f16ccb6b12cef08930e4fdc520736126e31bc0'/>
<id>urn:sha1:e8f16ccb6b12cef08930e4fdc520736126e31bc0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix name of clippy lint to unchecked_time_subtraction (2)</title>
<updated>2025-11-06T11:28:22Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2025-11-06T11:23:25Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a5fd5c48ea059a80cc1f6c50e248654b5ff3aaff'/>
<id>urn:sha1:a5fd5c48ea059a80cc1f6c50e248654b5ff3aaff</id>
<content type='text'>
Run maint/add_warning
</content>
</entry>
<entry>
<title>tor-netdoc: Apply much rustfmt churn</title>
<updated>2025-08-26T09:41:21Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2025-08-20T18:10:29Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b6128c3fb592c141d7ff78b0b51bd95d7c962852'/>
<id>urn:sha1:b6128c3fb592c141d7ff78b0b51bd95d7c962852</id>
<content type='text'>
</content>
</entry>
</feed>
