arti/crates/tor-dirmgr
Nick Mathewson 98d8171610 Fix test failure in tor_dirmgr::state::test::get_microdescs_state
This failure occurred because our tests use canned data to exercise
the directory state functionality, and the canned consensus has
suddenly become very expired.

There are better fixes possible, but this is a minimal one that
should get CI working on main again.
2022-01-27 17:13:38 -05:00
..
src Fix test failure in tor_dirmgr::state::test::get_microdescs_state 2022-01-27 17:13:38 -05:00
testdata Oops: add missing data files 2021-10-28 19:51:16 -04:00
Cargo.toml Make the native-tls crate optional. 2022-01-26 14:06:58 -05:00
README.md run ./maint/readmes.sh 2021-11-29 21:29:28 +10:00

README.md

tor-dirmgr

tor-dirmgr: Code to fetch, store, and update Tor directory information.

Overview

This crate is part of Arti, a project to implement Tor in Rust.

In its current design, Tor requires a set of up-to-date authenticated directory documents in order to build multi-hop anonymized circuits through the network.

This directory manager crate is responsible for figuring out which directory information we lack, downloading what we're missing, and keeping a cache of it on disk.

Compile-time features

mmap (default) -- Use memory mapping to reduce the memory load for reading large directory objects from disk.

static -- Try to link with a static copy of sqlite3.

routerdesc -- (Incomplete) support for downloading and storing router descriptors.

License: MIT OR Apache-2.0