<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-linkspec/src, 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-05-11T12:31:53Z</updated>
<entry>
<title>linkspec::verbatim: wrapper to give a CircTarget a new set of LinkSpecs</title>
<updated>2023-05-11T12:31:53Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-05-10T17:07:35Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=164717e19649cf988abfc716687cf675e5a06bf4'/>
<id>urn:sha1:164717e19649cf988abfc716687cf675e5a06bf4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add linkspec::decode to convert linkspecs to an OwnedChanTarget</title>
<updated>2023-05-11T12:31:53Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-05-10T16:44:42Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=88e9976556428665281a477f5e0591f27e5f5bc2'/>
<id>urn:sha1:88e9976556428665281a477f5e0591f27e5f5bc2</id>
<content type='text'>
Relays and onion service services/clients will both need this.

I'm marking this experimental for now; we should stabilize it before
we release onion services.
</content>
</entry>
<entry>
<title>Change CircTarget::linkspecs() to return an encoded list.</title>
<updated>2023-05-10T16:30:32Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-05-10T16:25:57Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7ce808b75bb500f27ce7837d4f76cbf7fc1ee705'/>
<id>urn:sha1:7ce808b75bb500f27ce7837d4f76cbf7fc1ee705</id>
<content type='text'>
If we didn't do this, we would need to transfrom
`EncodedLinkSpec`s into a `LinkSpec::Unrecognized`, which is not
semantically right.  What's more, every user of this API wants to
consume encoded link specifiers, so encoding them early saves a
little effort.
</content>
</entry>
<entry>
<title>linkspec: Make LinkSpecType public.</title>
<updated>2023-05-10T16:19:37Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-05-10T16:19:37Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a86aff8399655d0468a483d1ee6814653a37216f'/>
<id>urn:sha1:a86aff8399655d0468a483d1ee6814653a37216f</id>
<content type='text'>
This lets us check the type of an `EncodedLinkSpec` as well, and
lets us remove an interface that took a raw u8.
</content>
</entry>
<entry>
<title>linkspec: define conversion functions for EncodedLinkSpec</title>
<updated>2023-05-10T15:40:40Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-05-09T15:31:23Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4e5d7cecca51b48f540d8cd3d4f37fe9948db232'/>
<id>urn:sha1:4e5d7cecca51b48f540d8cd3d4f37fe9948db232</id>
<content type='text'>
This commit adds functions to convert between LinkSpec and
EncodedLinkSpec, and refactors their read/write implementations a
bit to avoid code duplication.
</content>
</entry>
<entry>
<title>Rename UnparsedLinkSpec =&gt; EncodedLinkSpec</title>
<updated>2023-05-10T15:23:39Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-05-10T15:23:39Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=02785ca6505572bdbfaa560178f299e30f7bc7e8'/>
<id>urn:sha1:02785ca6505572bdbfaa560178f299e30f7bc7e8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>test_linkspecs: tidy order of linkspecs</title>
<updated>2023-05-10T15:00:57Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-05-09T14:51:27Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d26da331be632c5114be7f0515934778c61ff779'/>
<id>urn:sha1:d26da331be632c5114be7f0515934778c61ff779</id>
<content type='text'>
This is pure code movement.
</content>
</entry>
<entry>
<title>Move responsibility for linkspec sorting to CircTarget.</title>
<updated>2023-05-10T15:00:57Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-05-09T14:49:15Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e919ade062b98d4c9567d6cedf723dab60ff207e'/>
<id>urn:sha1:e919ade062b98d4c9567d6cedf723dab60ff207e</id>
<content type='text'>
This change is necessary so that we can build Extend2 messages
that have their LinkSpecs appear in a verbatim order as provided
in an INTRODUCE2 message or in a HS descriptor.
</content>
</entry>
<entry>
<title>RelayId: implement id_type and as_bytes in terms of RelayIdRef</title>
<updated>2023-04-27T19:39:03Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-04-27T18:02:26Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c0aa6001790afc1cc28666c394bc6982b3ee1328'/>
<id>urn:sha1:c0aa6001790afc1cc28666c394bc6982b3ee1328</id>
<content type='text'>
This eliminates some duplicated code.
</content>
</entry>
<entry>
<title>RelayIdRef: as_bytes: Doesn't borrow from self</title>
<updated>2023-04-27T19:39:03Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-04-27T19:34:07Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=58a08036679af90b998ea525cc37f662cf098b75'/>
<id>urn:sha1:58a08036679af90b998ea525cc37f662cf098b75</id>
<content type='text'>
This borrows from the contained key, but not from self.

This will allow us to implement RelayId::as_bytes in terms of
RelayIdRef::as_bytes.
</content>
</entry>
</feed>
