<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-netdir/src, 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 `pos` not `idx` in test network constructors</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:22:31Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9940bd1eb468d29ab3650a2751c024924f9e5811'/>
<id>urn:sha1:9940bd1eb468d29ab3650a2751c024924f9e5811</id>
<content type='text'>
There are too many things called "index" here.  `idx` could be read to
mean the table index `RouterStatusIdx`, the hsdir hash `HsDirIndex`,
or an entry in some other one of these tables.

Here's, it's just the sequence number of the index in the test netdir.
Use `pos` for that.  (`seq` would have been another possibility.)
</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: eliminate ref to abolished MdEntry</title>
<updated>2023-03-27T16:26:51Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-03-27T16:20:33Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a746e17c8eb8f63b433b32e881a2dbb7e1000117'/>
<id>urn:sha1:a746e17c8eb8f63b433b32e881a2dbb7e1000117</id>
<content type='text'>
This was removed in c3e74973b4201f71275d8cf4c0c954cfb8d0eba5
  netdir: Use an even smaller rep for list of microdescs
</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>Upgrade to bitflags 2.0</title>
<updated>2023-03-13T12:47:14Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-03-13T12:47:14Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d6bb8fee0b3f010902d8297f16589467d82e4e4f'/>
<id>urn:sha1:d6bb8fee0b3f010902d8297f16589467d82e4e4f</id>
<content type='text'>
This version of bitflags now requires us to explicitly list the
traits that we want to derive for our bit-flags structs.
</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 minimal-versions (.then_some is too new)</title>
<updated>2023-02-09T16:07:16Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-02-09T15:21:04Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3d6e6fcf0d42b42f5b9bc923cafdeb97246764ed'/>
<id>urn:sha1:3d6e6fcf0d42b42f5b9bc923cafdeb97246764ed</id>
<content type='text'>
</content>
</entry>
</feed>
