<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-netdir/src/hsdir_ring.rs, branch arti-v1.1.3</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.3</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.3'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2023-03-30T14:53:51Z</updated>
<entry>
<title>tor-netdir: Implmeent HsDirRing::find_pos</title>
<updated>2023-03-30T14:53:51Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-03-30T13:37:19Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=577940853f04ee120d4c5e95032e7ee5201a6649'/>
<id>urn:sha1:577940853f04ee120d4c5e95032e7ee5201a6649</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-netdir: Make the hsdir ring be a TiVec</title>
<updated>2023-03-30T14:43:48Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-03-30T13:31:07Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=db968033cfd887e33b52130ac79072b695d46ee9'/>
<id>urn:sha1:db968033cfd887e33b52130ac79072b695d46ee9</id>
<content type='text'>
This eliminates an untyped `usize` index.
</content>
</entry>
<entry>
<title>tor-netdir: Use `hsdir_index` for hidden service directory hashval (fmt)</title>
<updated>2023-03-27T16:32:16Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-03-27T16:32:04Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4da12a26a9d9f874429bed00c6bf5a7f36f51726'/>
<id>urn:sha1:4da12a26a9d9f874429bed00c6bf5a7f36f51726</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-netdir: Use `hsdir_index` for hidden service directory hashval</title>
<updated>2023-03-27T16:31:23Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-03-27T16:16:08Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=325526a90356aaf11a58660b8f820aeb2b1f1589'/>
<id>urn:sha1:325526a90356aaf11a58660b8f820aeb2b1f1589</id>
<content type='text'>
The hidden services directory hashring is a ring of hsdir relays,
sorted by a hash that the spec calls the "index".  That's `HsDirIndex`.

This was a bad idea because the word "index" is seriously overused,
but in Arti we must use the same terminology.

At least, qualify it everywhere.  Now one of these hsdir sort position
hashes is always, in our code, an `hsdir_index`.

I think this is necessary even inside modules called `hsdir_*`,
because those can deal with other kind of "index" too.
</content>
</entry>
<entry>
<title>tor-netdir: Use `rsidx` consistent for `RouterStatusIdx`</title>
<updated>2023-03-27T16:25:52Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-03-27T15:47:52Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=99ffb89b487d7ced28c572b1c76b477839f62393'/>
<id>urn:sha1:99ffb89b487d7ced28c572b1c76b477839f62393</id>
<content type='text'>
This is an `IndexVec` key type.  Some places used `idx`, some `rsi`,
some `rs_idx`.

Use `rsidx` for it everywhere, including in locals, function names,
and fields.  `rsidx` is a compromise.  `rsi` might be a bit opaque,
but we want a one-"word" name since it appears inside other names.
</content>
</entry>
<entry>
<title>Clarify which netdir index is meant</title>
<updated>2023-02-09T14:56:30Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-02-09T14:56:30Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8cda5a1a3e075f24c52fd2103498add33dcb5de9'/>
<id>urn:sha1:8cda5a1a3e075f24c52fd2103498add33dcb5de9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>hsdir: rustfmt</title>
<updated>2023-02-09T13:01:37Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-02-08T19:20:03Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=335043658e6615b4b9f1ca97c7a430967029f943'/>
<id>urn:sha1:335043658e6615b4b9f1ca97c7a430967029f943</id>
<content type='text'>
Deferred formatting changes which would have obscured the commits they
were prompted by.
</content>
</entry>
<entry>
<title>hsdir: Actually compute the hash ring</title>
<updated>2023-02-09T13:01:37Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-02-08T19:17:12Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3dd0d381d07fec4242ea0666ddc82733a99e6b0b'/>
<id>urn:sha1:3dd0d381d07fec4242ea0666ddc82733a99e6b0b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>hsdir: Ring calculation plumbing</title>
<updated>2023-02-09T13:01:37Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-02-01T17:48:20Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f12277141bba1d43891ffea06572405794ddd301'/>
<id>urn:sha1:f12277141bba1d43891ffea06572405794ddd301</id>
<content type='text'>
* Implement Netdir::compute_rings in terms of a new
  HsDirRing::compute, that currently does nothing.

* Actually call Netdir::compute_rings (since now it doesn't panic).

* Make Netdir::compute_rings not be pub.  We do this unconditionally,
  rather than exposing the distinction between a netdir-without-hsdir
  and a netdir-with-hsdir.
</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>
</feed>
