<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-netdir/src/hsdir_params.rs, branch arti-v1.1.5</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.5</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.5'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2023-02-28T11:10:17Z</updated>
<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>
<entry>
<title>hsdir_params: Rename some variables for consistency</title>
<updated>2023-02-09T12:56:18Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-02-07T16:05:30Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=962c8790054bc8f96f9d01c2fe9c4fa720e8ec57'/>
<id>urn:sha1:962c8790054bc8f96f9d01c2fe9c4fa720e8ec57</id>
<content type='text'>
These variables are going to be struct fields, which will sort of
enforce consistent naming.  The struct fields are going to appear in a
moment.  We'll call the fields "current" and "secondary" after the
naming in the test cases.

And import hsdir_params::HsRingParams, which we're going to make more
references to.
</content>
</entry>
<entry>
<title>hsdir: Replace open-coded params fields and args with HsRingParams</title>
<updated>2023-02-09T12:56:18Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-02-01T16:55:15Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5f520152397e6838e3d968f94d5205b3b0773a04'/>
<id>urn:sha1:5f520152397e6838e3d968f94d5205b3b0773a04</id>
<content type='text'>
This will enable us to pass these around more conveniently.

And make empty_from_params take an owned params, which it would like.
</content>
</entry>
<entry>
<title>hs time handling: Make TimePeriod contain length as IntegerMinutes</title>
<updated>2023-02-09T12:56:18Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-02-08T17:35:51Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4626ccfcaaf71ee364e71447b2a548d5f3f504c4'/>
<id>urn:sha1:4626ccfcaaf71ee364e71447b2a548d5f3f504c4</id>
<content type='text'>
Locally, the only functional effect is that now we refuse to handle
non-whole-number-of-minutes lengths - but since the consensus
parameter can't represent those, there's no overall functional change.
</content>
</entry>
<entry>
<title>netdir: remove duplicate code in param calculation</title>
<updated>2023-01-28T17:43:08Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-01-27T18:50:24Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f6cbd180a1c99bc2b3aa45ce6e50217ef40ddae5'/>
<id>urn:sha1:f6cbd180a1c99bc2b3aa45ce6e50217ef40ddae5</id>
<content type='text'>
</content>
</entry>
</feed>
