<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-netdir/src/hsdir_params.rs, branch arti-v1.1.6</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.6</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.6'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2023-06-29T12:19:37Z</updated>
<entry>
<title>Downgrade TODO HS on HsDirParams::compute().expect()</title>
<updated>2023-06-29T12:19:37Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-06-26T18:12:55Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c565a67689ba6d2b8b3f59448c66e9b4bf34e072'/>
<id>urn:sha1:c565a67689ba6d2b8b3f59448c66e9b4bf34e072</id>
<content type='text'>
(Adding comments explaining that these errors are really
unlikely to occur, unless there is a bug in our code or in Rust's
time handling.)
</content>
</entry>
<entry>
<title>netdir: remove unnecessary wraps from srv_interval, extract_srvs</title>
<updated>2023-06-29T12:19:37Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-06-26T17:29:01Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a9da1283bc128b4d10dadd65214fb14e96df6089'/>
<id>urn:sha1:a9da1283bc128b4d10dadd65214fb14e96df6089</id>
<content type='text'>
</content>
</entry>
<entry>
<title>netdir: Move voting_period() to netdoc::Lifetime</title>
<updated>2023-06-29T12:19:37Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-06-26T17:24:57Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4803f6447d1aacc7a59f030403f91ca6711806bc'/>
<id>urn:sha1:4803f6447d1aacc7a59f030403f91ca6711806bc</id>
<content type='text'>
I was going to add a comment about "doing this if we need the voting
period anywhere else" but it turns out that we also use it in dirmgr.
</content>
</entry>
<entry>
<title>hscrypto: fix TODOs in time-period code.</title>
<updated>2023-06-13T16:39:52Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-06-13T16:37:31Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0add7df458f36831723e1679bfe4681b94d15042'/>
<id>urn:sha1:0add7df458f36831723e1679bfe4681b94d15042</id>
<content type='text'>
* Return a more informative error type (instead of Option)
* Check that time periods are an integer number of seconds
* Decide not to change the semantics of an argument.
</content>
</entry>
<entry>
<title>Rename onion-* cargo features to hs-* in tor-* crates</title>
<updated>2023-02-28T11:10:17Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-02-24T14:26:25Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f63c7c48afd94fe9d09746f0b76fbaff8d4a1a79'/>
<id>urn:sha1:f63c7c48afd94fe9d09746f0b76fbaff8d4a1a79</id>
<content type='text'>
Fixes #756
</content>
</entry>
<entry>
<title>Fix compilation with various feature combinations</title>
<updated>2023-02-09T14:35:57Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-02-09T14:34:18Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1f3f659536119ee03869e7d338ce709537bd37ef'/>
<id>urn:sha1:1f3f659536119ee03869e7d338ce709537bd37ef</id>
<content type='text'>
</content>
</entry>
<entry>
<title>hsdir representation: Introduce HsDirs generic type</title>
<updated>2023-02-09T13:01:37Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-02-08T12:38:54Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=fe1113bd6b8a4f9498cd3568d469ab816406571e'/>
<id>urn:sha1:fe1113bd6b8a4f9498cd3568d469ab816406571e</id>
<content type='text'>
This already allows us to get rid of some duplication, and will be
useful more widely in a moment.
</content>
</entry>
<entry>
<title>hsdir: Implement HS hash ring index calculations</title>
<updated>2023-02-09T13:01:37Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-01-31T16:16:29Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d63c44f96d5da143f057f0fabcccb0823800e2a9'/>
<id>urn:sha1:d63c44f96d5da143f057f0fabcccb0823800e2a9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>hsdir: impl Eq for HsDirParams</title>
<updated>2023-02-09T12:56:18Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-02-07T15:29:12Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3f04e7f43ec95d509f3fc650e541b028fd474ff9'/>
<id>urn:sha1:3f04e7f43ec95d509f3fc650e541b028fd474ff9</id>
<content type='text'>
This will allow us to tell if we can reuse parts of a ring.
</content>
</entry>
<entry>
<title>hsdir: Rename HsRingParams to HsDirParams</title>
<updated>2023-02-09T12:56:18Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-02-08T12:38:49Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5fcae642d60e200b3c3db7b726ce20899a4073c4'/>
<id>urn:sha1:5fcae642d60e200b3c3db7b726ce20899a4073c4</id>
<content type='text'>
The file which contains this type is called hsdir_params.rs.  We have
a general problem with slight confusion about when to includen "dir"
and when to include "ring".

Resolve this in favour of the rule now added to the module-level doc
comment.
</content>
</entry>
</feed>
