aboutsummaryrefslogtreecommitdiff
path: root/crates/tor-dirauth/src
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Merge branch 'da-microdesc-calc' into 'main'"Clara Engler2026-08-046-596/+10
| | | This reverts merge request !4264
* tor-dirauth: tests: Unit test for microdescriptor calculation coalesceIan Jackson2026-08-041-0/+52
|
* tor-dirauth: tests: Provide SupportedConsensusMethod::new_uncheckedIan Jackson2026-08-041-0/+8
|
* tor-dirauth: tests: Test error handling of all-supported-microdescsIan Jackson2026-08-041-1/+25
|
* tor-dirauth: tests: Test computation of all microdescriptorsIan Jackson2026-08-041-0/+20
|
* tor-dirauth: Function for computing all supported microdescriptorsIan Jackson2026-08-042-1/+87
|
* tor-dirauth: tests: Test microdescriptor calculation against live dataIan Jackson2026-08-042-0/+66
|
* tor-dirauth: Implement main microdescriptor calculation functionIan Jackson2026-08-044-4/+57
| | | | This is actually quite simple now.
* tor-dirauth: Use TrackedConsensusMethod in summarise_policy_v4_approximateIan Jackson2026-08-041-3/+7
| | | | | It doesn't actually use the value, but its call site is going to have one of these, not a SupportedConsensusMethod.
* tor-dirauth: Introduce new TrackedConsensusMethod typeIan Jackson2026-08-043-3/+276
|
* Move supported consensus methods iteration to tor-dirauth from arti-dirauthIan Jackson2026-07-234-0/+35
| | | | Now we provide SupportedConsensusMethod::iter_all().
* Much formatting churn for 2024 editionIan Jackson2026-07-221-1/+1
|
* tor-dirauth: Add comment about partially private rejectsIan Jackson2026-07-211-0/+3
| | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/4212#note_3436989
* tor-dirauth: Add comment about port 0Ian Jackson2026-07-211-0/+2
| | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/4212#note_3436987
* tor-dirauth: Fix comment typoIan Jackson2026-07-211-1/+1
|
* tor-dirauth: Fix doc urlIan Jackson2026-07-211-1/+1
|
* tor-dirauth: Test approximate port summary algorithmIan Jackson2026-07-211-0/+143
|
* tor-dirauth: Implement approximate port summary algorithmIan Jackson2026-07-213-0/+368
|
* tor-dirauth: Provide SupportedConsensusMethod::MAX for testingIan Jackson2026-07-211-0/+7
|
* tor-dirauth: Warn on possibly-panicking arithmeticIan Jackson2026-07-211-1/+2
|
* Merge branch 'remove-lint' into 'main'Jim Newsome2026-07-151-1/+1
|\ | | | | | | | | | | | | Removed unnecessary lint Closes #2556 See merge request tpo/core/arti!4210
| * add_warning: add reference to arti#2556Jim Newsome2026-07-151-1/+1
| |
| * Removed unnecessary lintpryty262026-07-151-1/+1
| | | | | | | | Removed unnecessary lint
* | tor-dirauth: Move supported_well_formed test case to consensus.rsIan Jackson2026-07-152-10/+29
| | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/4200#note_3433115
* | tor-dirauth: Add spec link to consensus methods listIan Jackson2026-07-151-0/+6
| | | | | | | | | | Prompted by https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/4200#note_3433106
* | tor-dirauth: Replace map_ranges with local import and value wrappingIan Jackson2026-07-152-20/+9
| | | | | | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/4200#note_3433105 Suggested-by: Jim Newsome <[email protected]>
* | tor-dirauth: Introduce SupportedConsensusMethod newtypeIan Jackson2026-07-154-0/+137
|/
* tor-dirauth: New crate, emptyIan Jackson2026-06-221-0/+51