<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-chanmgr/src/mgr, branch arti-v1.1.1</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.1</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.1'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2023-01-27T13:28:02Z</updated>
<entry>
<title>Allow clippy::unchecked_duration_subtraction in tests</title>
<updated>2023-01-27T13:28:02Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-01-27T13:01:45Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a6dd92843edf2bd4c58de62a0d562921e4191ada'/>
<id>urn:sha1:a6dd92843edf2bd4c58de62a0d562921e4191ada</id>
<content type='text'>
This panics on error, and we're fine with a panic on misbehavior in
tests.
</content>
</entry>
<entry>
<title>tor-chanmgr: Introduce the BootstrapReporter API, publicize ChanBuilder</title>
<updated>2022-11-28T18:52:21Z</updated>
<author>
<name>eta</name>
<email>tor@eta.st</email>
</author>
<published>2022-11-28T15:32:56Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a3c9fc5b1aa9f1072448fdea336f561b71ce1176'/>
<id>urn:sha1:a3c9fc5b1aa9f1072448fdea336f561b71ce1176</id>
<content type='text'>
This commit makes the `ChanBuilder` type in `tor-chanmgr` usable by
consumers outside of that crate, like the doc comment for
`ChannelFactory` says you need to be able to do in order to turn your
`TransportHelper` into something useful.

As part of doing this, the `event_sender` its constructor takes needed
to be dealt with, since it was a crate-internal type that came from
inside the `ChanMgr`.

Enter `BootstrapReporter`: an opaque wrapper around that sender, now
provided as an additional argument to
`ChannelFactory::connect_via_transport`. You can now construct a
`ChanBuilder` outside this crate, and it'll still be able to report its
bootstrap status by unwrapping this new type that's threaded through
from the `ChanMgr`. (This was a fair deal of manually threading the type
through all the layers in this crate!)

Note that you cannot implement bootstrap updating using something that
isn't `ChanBuilder` yet due to the type being entirely opaque (but, of
course, we can figure out exactly what API the reporter should have
later, and add that capability in).
</content>
</entry>
<entry>
<title>ChanMgr: Fix a few more conditional-compilation issues</title>
<updated>2022-11-23T16:10:34Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-11-23T16:01:00Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1249bedbb0d58c9c4f11c0e9bd589ea5587e47f8'/>
<id>urn:sha1:1249bedbb0d58c9c4f11c0e9bd589ea5587e47f8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ChanMgr: Implement functions that replace channel factories.</title>
<updated>2022-11-23T16:10:34Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-11-22T20:07:14Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=bc1de60d6d31b2c01262398741757113636dd4bc'/>
<id>urn:sha1:bc1de60d6d31b2c01262398741757113636dd4bc</id>
<content type='text'>
This commit makes it possible to replace the default channel factory
(used when there is no PtMgr), and to replace the PtMgr.

This is part of #659.
</content>
</entry>
<entry>
<title>ChanMgr: move the AbstractChanFactory into MgrState.</title>
<updated>2022-11-22T19:41:44Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-11-22T19:38:02Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a688e4afc9aa6e4273617eef21dd73bf8aabc329'/>
<id>urn:sha1:a688e4afc9aa6e4273617eef21dd73bf8aabc329</id>
<content type='text'>
We will want the freedom to replace this, so it needs to go behind a
lock. We need to be able to Clone it cheaply now, so we're using an
Arc instead of a Box.
</content>
</entry>
<entry>
<title>chanmgr: rename new_test_channel_map to new_test_state.</title>
<updated>2022-11-16T17:07:47Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-11-16T17:07:47Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7d4691e402bfa2ffa0f91e53809b15d048a1b613'/>
<id>urn:sha1:7d4691e402bfa2ffa0f91e53809b15d048a1b613</id>
<content type='text'>
</content>
</entry>
<entry>
<title>chanmgr::mgr::*: misc spelling fixes and normali[sz]ations</title>
<updated>2022-11-16T17:05:20Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-11-16T17:05:20Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b466e242352bd445fc68cf62883de06625c9be3e'/>
<id>urn:sha1:b466e242352bd445fc68cf62883de06625c9be3e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix up documentation that referred to a ChannelMap.</title>
<updated>2022-11-16T17:02:02Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-11-16T17:02:02Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=53c401af651e35050b1fc741b2c80791284ba993'/>
<id>urn:sha1:53c401af651e35050b1fc741b2c80791284ba993</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ChanMgr: Rename map.rs to state.rs</title>
<updated>2022-11-16T16:46:11Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-11-16T16:46:11Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5804f0f350c27779333e2d66e9efe027445a093e'/>
<id>urn:sha1:5804f0f350c27779333e2d66e9efe027445a093e</id>
<content type='text'>
This is another pure renaming.
</content>
</entry>
<entry>
<title>ChanMgr: Rename ChannelMap to MgrState</title>
<updated>2022-11-16T16:32:49Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-11-16T16:32:49Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8271037d374e642563e074622f006986200e3762'/>
<id>urn:sha1:8271037d374e642563e074622f006986200e3762</id>
<content type='text'>
We're doing this because the type now holds "all the mutable state
in a ChanMgr", not just the map.

This is a pure renaming; no documentation has been updated.

Part of #606.
</content>
</entry>
</feed>
