<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-chanmgr/src/mgr, branch arti-v1.1.6</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.6</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.6'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2023-05-18T16:57:57Z</updated>
<entry>
<title>chanmgr: fix a unit-default warning from clippy nightly.</title>
<updated>2023-05-18T16:57:57Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-05-18T16:57:57Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e8e40e66f62fe263401ce4564efedbb0b80e1d46'/>
<id>urn:sha1:e8e40e66f62fe263401ce4564efedbb0b80e1d46</id>
<content type='text'>
I could also have stopped using `::default()` to construct this
(testing-only) object, but I think it makes more sense to turn it
into a non-unit object.
</content>
</entry>
<entry>
<title>chanmgr: remove a needless mut.</title>
<updated>2023-05-11T12:38:06Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-05-11T12:38:06Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=78fb64387df95a4a220eaee39a754f3811dc0be4'/>
<id>urn:sha1:78fb64387df95a4a220eaee39a754f3811dc0be4</id>
<content type='text'>
This fixes a warning from nightly clippy.
</content>
</entry>
<entry>
<title>tor-netdir: Update tests to parse the descriptor, make test consensus lifetime configurable.</title>
<updated>2023-05-03T16:25:25Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-04-26T17:25:05Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=30983c764f6a646782f51fd540f205dba0347933'/>
<id>urn:sha1:30983c764f6a646782f51fd540f205dba0347933</id>
<content type='text'>
Signed-off-by: Gabriela Moldovan &lt;gabi@torproject.org&gt;
</content>
</entry>
<entry>
<title>Errors: Mark the type of an error, for clarity</title>
<updated>2023-01-30T17:52:02Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-01-30T17:52:02Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c2e4b8b7f96df314e3ad49f199f61f2f5961b2fe'/>
<id>urn:sha1:c2e4b8b7f96df314e3ad49f199f61f2f5961b2fe</id>
<content type='text'>
We want to call ErrorReport::report() on Errors, but this isn't an
Error but only a string.
</content>
</entry>
<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>
</feed>
