<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-circmgr/src/timeouts/pareto.rs, branch arti-v0.0.4</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v0.0.4</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v0.0.4'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2021-12-20T20:34:17Z</updated>
<entry>
<title>Only count timeouts when we've seen net activity.</title>
<updated>2021-12-20T20:34:17Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-12-20T20:34:17Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=efe74e8c9b522cf0e7966be464cd8188f4b9664f'/>
<id>urn:sha1:efe74e8c9b522cf0e7966be464cd8188f4b9664f</id>
<content type='text'>
This closes arti#256.  It makes our behavior match Tor's more closely,
though it has a simpler implementation than Tor. I think that the extra
complexity in Tor's logic is because we used to record timeouts in
the histogram as well as in the success/failure log.
</content>
</entry>
<entry>
<title>fix nightly clippy errors</title>
<updated>2021-12-09T11:16:23Z</updated>
<author>
<name>Trinity Pointard</name>
<email>trinity.pointard@gmail.com</email>
</author>
<published>2021-12-09T11:16:23Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9753a7ee06d1dad9b9dbaa1653593bb545d4cf59'/>
<id>urn:sha1:9753a7ee06d1dad9b9dbaa1653593bb545d4cf59</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use a safer histogram rebuild algorithm.</title>
<updated>2021-12-08T15:59:36Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-12-08T15:59:36Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=940ab11b80e159ec4fe94734e8245e5350f6ccb9'/>
<id>urn:sha1:940ab11b80e159ec4fe94734e8245e5350f6ccb9</id>
<content type='text'>
Our old algorithm could, on some inputs, exhaust RAM.  That's not great,
since we try to be robust againt corruption to the state file.
</content>
</entry>
<entry>
<title>Change an XXX in pareto.rs: a ticket is now open.</title>
<updated>2021-12-08T15:29:44Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-12-08T15:29:44Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8f200223f754349ed43c9b681f1f2350b8aa72fa'/>
<id>urn:sha1:8f200223f754349ed43c9b681f1f2350b8aa72fa</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use a panic-free function to multiply timeouts.</title>
<updated>2021-12-06T21:00:17Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-12-06T20:55:12Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d6f628c6b75a2b3958b02b8cf1a660b95082c098'/>
<id>urn:sha1:d6f628c6b75a2b3958b02b8cf1a660b95082c098</id>
<content type='text'>
Previously we used Duration::mul_f64, which panics if its output is
out-of-range.  That shouldn't actually be possible for the values
we're giving it, but probably it's better to just multiply in a safe
way.

This resolves a couple of XXXXs and therefore relates to #231.
</content>
</entry>
<entry>
<title>add semicolons if nothing returned</title>
<updated>2021-11-25T13:20:37Z</updated>
<author>
<name>Daniel Eades</name>
<email>danieleades@hotmail.com</email>
</author>
<published>2021-11-25T13:14:05Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=db16d13df4779ac61005050dfe5ce05e3d5a1b5d'/>
<id>urn:sha1:db16d13df4779ac61005050dfe5ce05e3d5a1b5d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add #[serde(flatten)] HashMap fields to serializable objects</title>
<updated>2021-10-27T12:31:52Z</updated>
<author>
<name>eta</name>
<email>tor@eta.st</email>
</author>
<published>2021-10-27T12:31:52Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7a931b4de39f123b3af8afe96492bf5c67c81b95'/>
<id>urn:sha1:7a931b4de39f123b3af8afe96492bf5c67c81b95</id>
<content type='text'>
As per arti#175, we'd like to be able to handle newer Arti versions
storing additional state in the persisted state files, without dropping
this data on the floor when we write out changes to these files.

Use the #[serde(flatten)] mechanism to achieve this, by adding catch-all
HashMap&lt;String, JsonValue&gt; fields to all structs that are at risk of
this happening to them.
</content>
</entry>
<entry>
<title>Add a timeout estimator to take estimates from another process.</title>
<updated>2021-10-20T16:41:59Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-10-20T16:41:59Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=db0921fd7e31d863fd1f938588e641773eacfcf5'/>
<id>urn:sha1:db0921fd7e31d863fd1f938588e641773eacfcf5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Allow type of timeout estimator to change at runtime.</title>
<updated>2021-10-20T16:06:58Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-10-20T16:06:58Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=16ec1d21f2388afe91a66b8b2415c036c3af529e'/>
<id>urn:sha1:16ec1d21f2388afe91a66b8b2415c036c3af529e</id>
<content type='text'>
This is a big change, but it does simplify the type of Builder a
little, and isolates locking across different (potential) timeout
estimator types.
</content>
</entry>
<entry>
<title>enable checked_conversions lint.</title>
<updated>2021-10-09T20:53:13Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-10-09T20:49:32Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=af7c9d5a0b1bdcfba820160cf89d480efd27760e'/>
<id>urn:sha1:af7c9d5a0b1bdcfba820160cf89d480efd27760e</id>
<content type='text'>
</content>
</entry>
</feed>
