<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/arti-relay/src/relay.rs, branch arti-v1.7.0</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.7.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.7.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2025-10-27T15:32:16Z</updated>
<entry>
<title>arti-relay: use `Void` for `TorRelay::run`</title>
<updated>2025-10-27T15:32:16Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2025-10-27T15:30:42Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2e0cb761548f5e99c0bbd4eece0f9643944b95e2'/>
<id>urn:sha1:2e0cb761548f5e99c0bbd4eece0f9643944b95e2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>arti-relay: add line breaks between `InertTorRelay` fields</title>
<updated>2025-10-21T20:22:34Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2025-10-21T02:43:34Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d6872638956b501e8be5392f56b2b89ded34060d'/>
<id>urn:sha1:d6872638956b501e8be5392f56b2b89ded34060d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>arti-relay: add a `MemoryQuotaTracker`</title>
<updated>2025-10-21T20:22:34Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2025-10-20T05:52:02Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c0ae0d7e3c9b0421008885dcda08f626caedf41b'/>
<id>urn:sha1:c0ae0d7e3c9b0421008885dcda08f626caedf41b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>arti-relay: small refactoring</title>
<updated>2025-10-21T19:54:03Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2025-10-20T05:22:33Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3ea4ccccb86b31a80706f320a7208ccf91d687f3'/>
<id>urn:sha1:3ea4ccccb86b31a80706f320a7208ccf91d687f3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>arti-relay: generate keys only when bootstrapping</title>
<updated>2025-10-21T19:54:03Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2025-10-20T05:20:54Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=73966d3f193ab904e3199d12b162d16365737472'/>
<id>urn:sha1:73966d3f193ab904e3199d12b162d16365737472</id>
<content type='text'>
We don't want to create new files just when creating a `InertTorRelay`.
We should only generate the keys before bootstrapping.
</content>
</entry>
<entry>
<title>arti-relay: copy `state_mgr.try_lock()` from arti-client</title>
<updated>2025-10-21T19:54:03Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2025-10-20T03:20:36Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c88e84c78adbb3fb8ef4ce00cfa29ce71ec25cba'/>
<id>urn:sha1:c88e84c78adbb3fb8ef4ce00cfa29ce71ec25cba</id>
<content type='text'>
</content>
</entry>
<entry>
<title>arti-relay: small change to `create_keymgr()`</title>
<updated>2025-10-21T19:54:02Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2025-10-20T03:06:04Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2553215ac2b679d4bc6907d156899fcc2b841256'/>
<id>urn:sha1:2553215ac2b679d4bc6907d156899fcc2b841256</id>
<content type='text'>
</content>
</entry>
<entry>
<title>arti-relay: initialize the `StateDirectory` and `FsStateMgr`</title>
<updated>2025-10-21T19:53:14Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2025-10-20T01:39:23Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=038bf65e4da6184049950227002f4f8d8e05cdd2'/>
<id>urn:sha1:038bf65e4da6184049950227002f4f8d8e05cdd2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>relay: Implement a blocking run() that starts the relay</title>
<updated>2025-10-21T18:29:32Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2025-10-14T18:58:07Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3d0ef5bbe4d1658080dfe168b11e74d10a2d3e5b'/>
<id>urn:sha1:3d0ef5bbe4d1658080dfe168b11e74d10a2d3e5b</id>
<content type='text'>
We have bootstrap() to prepare everything we need before starting the
relay which yields a TorRelay.

This commit then adds a run() function which starts the relay by
launching background task. At the moment, we only have one task and it
is the channel expiry one.

The relay blocks on the task handle set until one task is on error or
stops which leads to shutting down the relay.

Part of #2217

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>arti-relay: refactor error handling</title>
<updated>2025-10-20T16:02:04Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2025-10-20T16:02:01Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=25f4b8fd5bb7af9498e99f952f813620ca739aeb'/>
<id>urn:sha1:25f4b8fd5bb7af9498e99f952f813620ca739aeb</id>
<content type='text'>
We decided to move away from the `Error` + `ErrorDetail`
all-encompassing enum design, and will use `anyhow::Error` in more
places. When we need to handle specific errors, we will create smaller
more-specific error types in those cases.
</content>
</entry>
</feed>
