summaryrefslogtreecommitdiff
path: root/tor-netdir/src/lib.rs
Commit message (Expand)AuthorAgeFilesLines
* Fix some warnings about needless & from nightly clippyNick Mathewson2021-06-181-3/+3
* Notes about badexit flag and opportunities for errorNick Mathewson2021-06-161-0/+4
* Tests for circmgr::usageNick Mathewson2021-06-161-3/+7
* Expose the "construct_network()" function in tor-netdir.Nick Mathewson2021-06-161-77/+5
* Add noop_method_call warning.Nick Mathewson2021-05-271-0/+1
* Enable cargo_common_metadata warning.Nick Mathewson2021-05-251-0/+2
* Re-add a percentage type wrapper.Nick Mathewson2021-05-251-2/+1
* fixup! Revert change to type of NetParams value.Nick Mathewson2021-05-251-4/+0
* It is not an error to see an unrecognized parameter.Nick Mathewson2021-05-251-17/+11
* Revert change to type of NetParams value.Nick Mathewson2021-05-251-5/+10
* Use macros and types to improve handling of Netdir parameters.Nick Mathewson2021-05-251-8/+20
* More docs on tor-netdir.Nick Mathewson2021-05-241-8/+26
* Make netdir's Relay type derive "Clone".Alexander Færøy2021-05-201-0/+1
* Prefer "relay" over "router" in docs and APIs.Nick Mathewson2021-05-181-17/+17
* tor_netdir: tests on relay picking and moreNick Mathewson2021-05-101-6/+108
* netdir: Add real tests for frac_for_role().Nick Mathewson2021-05-101-7/+107
* netdir: remove unused From implementation.Nick Mathewson2021-05-101-6/+0
* Add some tests to tor-netdir.Nick Mathewson2021-05-071-0/+138
* Add trait_duplication_in_bounds warning.Nick Mathewson2021-05-031-0/+1
* Add unseparated_literal_suffix lint, and fix it.Nick Mathewson2021-05-031-0/+1
* Add a few more clippy warningsNick Mathewson2021-05-031-0/+5
* Add some more clippy warnings to our list.Nick Mathewson2021-04-271-1/+6
* Enforce (and obey) clippy lints about exhaustive enums, structs.Nick Mathewson2021-04-271-0/+3
* Use Arc::make_mut() to simplify the code a bitNick Mathewson2021-03-301-19/+0
* Experimental accessor functions for Relay members.Nick Mathewson2021-03-301-0/+26
* Make RouterStatus a trait and Consensus into a generic type.Nick Mathewson2021-03-301-1/+1
* Fix Rust-1.51 clippy warnings about acronyms in camel case.Nick Mathewson2021-03-291-37/+37
* Rename Rsa{Identity,Signature} to fix clippy warning.Nick Mathewson2021-03-291-4/+4
* Don't copy exit policies around; instead use Arc.George Kadianakis2021-03-291-2/+2
* Resolve unwrap() instances in tor-netdir.Nick Mathewson2021-03-161-1/+1
* Add support to override network parameters in the configuration.Nick Mathewson2021-02-161-2/+17
* Resolve a few more XXX-A1 comments in dirmgr.Nick Mathewson2021-01-251-0/+5
* Expose network parameters more sensibly from NetDir.Nick Mathewson2020-12-221-6/+20
* Check ipv6 exit policies when trying to connect to an ipv6 port specificallyNick Mathewson2020-12-221-2/+5
* Simplification: Every relay is in the same family as itself.Nick Mathewson2020-12-171-0/+5
* Make sure that a circuit doesn't use relays in the same familyLunar2020-12-161-0/+8
* Remember the actual usable ports for an exit after we've built a circuitNick Mathewson2020-12-141-0/+11
* Mark some XXXX issues as XXXX-A1.Nick Mathewson2020-12-071-1/+1
* Add a missing documentation comment.Nick Mathewson2020-12-071-0/+1
* Reuse microdescriptors from previous consensusNick Mathewson2020-12-061-1/+4
* Refactor NetDir a little for space savings and updatingNick Mathewson2020-12-061-19/+96
* Use a better calculation for deciding if we have enough paths.Nick Mathewson2020-12-021-11/+30
* Implement correct (?) weighting for path selection.Nick Mathewson2020-12-021-66/+28
* Add a function to load a directory from cache.Nick Mathewson2020-11-241-0/+5
* When a consensus has enough descriptors, mark it non-pending.Nick Mathewson2020-11-241-0/+5
* Remove a couple of #[allow]s.Nick Mathewson2020-11-201-1/+0
* Move storage and config logic from netdir to dirmgr.Nick Mathewson2020-11-201-7/+0
* Use a builder pattern for NetDir.Nick Mathewson2020-11-201-7/+1
* Move NetDirConfig into its own module.Nick Mathewson2020-11-201-142/+2
* Move some netdir code into submodules.Nick Mathewson2020-11-201-143/+26