<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-dirmgr/src/storage.rs, branch arti-v1.0.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.0.1</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.0.1'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2022-08-09T13:30:22Z</updated>
<entry>
<title>Decrease the lifetimes for storing descriptors.</title>
<updated>2022-08-09T13:30:22Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-08-09T13:30:22Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8a2a0ec1a0870aa276857f441156d2ce307b574f'/>
<id>urn:sha1:8a2a0ec1a0870aa276857f441156d2ce307b574f</id>
<content type='text'>
These values were chosen experimentally, based on those from Tor, to
save disk space without wasting much bandwidth.

Closes #527.
</content>
</entry>
<entry>
<title>dirmgr: Add an instance of BadUtf8InCache</title>
<updated>2022-07-14T13:32:01Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-07-14T13:32:01Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8cbc740d90f8678de15fdb4a796102bd6c01590f'/>
<id>urn:sha1:8cbc740d90f8678de15fdb4a796102bd6c01590f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>dirmgr: Clarify disk IO errors.</title>
<updated>2022-07-14T13:27:29Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-07-14T13:27:29Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d1e9d4ce8432698c636f6cd402ebc8600f68ef29'/>
<id>urn:sha1:d1e9d4ce8432698c636f6cd402ebc8600f68ef29</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Resolve DOCDOC comments in tor-dirmgr.</title>
<updated>2022-05-12T13:45:05Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-05-12T13:45:05Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=24c7dea38dbc07ca66ccdc4909066962781c76c3'/>
<id>urn:sha1:24c7dea38dbc07ca66ccdc4909066962781c76c3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-dirmgr: small fixups for the bootstrapping refactor</title>
<updated>2022-05-10T12:29:39Z</updated>
<author>
<name>eta</name>
<email>tor@eta.st</email>
</author>
<published>2022-05-10T10:29:25Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=27f4657ff1a6f302228894e95c2d7cd7d45940e8'/>
<id>urn:sha1:27f4657ff1a6f302228894e95c2d7cd7d45940e8</id>
<content type='text'>
- Some FIXMEs got removed or amended.
- AddMicrodescs now yields a mutable reference, so we can use .drain()
  and reuse the allocation.
- Some panics were downgraded to debug_asserts.
</content>
</entry>
<entry>
<title>tor-dirmgr/state.rs: refactor GetConsensusState::new</title>
<updated>2022-05-10T10:42:50Z</updated>
<author>
<name>eta</name>
<email>tor@eta.st</email>
</author>
<published>2022-04-27T16:45:25Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a9bae9adfe55f27257214fb7551f14680a9672f3'/>
<id>urn:sha1:a9bae9adfe55f27257214fb7551f14680a9672f3</id>
<content type='text'>
- GetConsensusState::new now takes a set of parameters matching what it
  actually needs, instead of just taking a writedir. (It still *does*
  take a writedir, and indeed still uses it for basically everything,
  but that will eventually go away.)
- Its call sites were updated.
  - Some tests now need to take a runtime, and got indented a lot as a
    result.
  - Resetting was made non-functional, because we need to thread through
    the parameters passed to GetConsensusState to all of the other
    states, too. This will happen in a later commit.
</content>
</entry>
<entry>
<title>tor-dirmgr/storage.rs: impl Store for Box&lt;dyn Store&gt;</title>
<updated>2022-05-10T10:39:30Z</updated>
<author>
<name>eta</name>
<email>tor@eta.st</email>
</author>
<published>2022-04-22T15:06:17Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0dfac008424e297d4259be8af80aad0edddd6996'/>
<id>urn:sha1:0dfac008424e297d4259be8af80aad0edddd6996</id>
<content type='text'>
Annoyingly, Rust doesn't automatically generate this sort of `impl` for
you, and I'd like to reduce the usage of Mutex&lt;DynStore&gt; everywhere else
in favour of either &amp;dyn Store or &amp;mut dyn Store.

(This is for two reasons: firstly, we might have a Store implementation
that doesn't use a mutex as above, or similar refactors; secondly,
passing the raw trait object reference lets us encode mutability into
the function signature, which I believe is quite valuable.)
</content>
</entry>
<entry>
<title>Update tor-dirmgr to use fs-mistrust.</title>
<updated>2022-05-09T18:40:29Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-05-03T17:08:18Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=20a85061b6c7c5a88b98497aabdf986cd6a462df'/>
<id>urn:sha1:20a85061b6c7c5a88b98497aabdf986cd6a462df</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix grammar and typos</title>
<updated>2022-04-27T12:52:13Z</updated>
<author>
<name>Samanta Navarro</name>
<email>ferivoz@riseup.net</email>
</author>
<published>2022-04-23T11:51:44Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c53818d496c910de4dfc4bc8d1f53e419fbf7408'/>
<id>urn:sha1:c53818d496c910de4dfc4bc8d1f53e419fbf7408</id>
<content type='text'>
</content>
</entry>
<entry>
<title>dirmgr::Store.expire_all takes config</title>
<updated>2022-02-23T18:56:52Z</updated>
<author>
<name>tharvik</name>
<email>tharvik@users.noreply.github.com</email>
</author>
<published>2022-02-11T12:02:35Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b28803d861030c56b8d77deacbfc9fd29746bb27'/>
<id>urn:sha1:b28803d861030c56b8d77deacbfc9fd29746bb27</id>
<content type='text'>
</content>
</entry>
</feed>
