aboutsummaryrefslogtreecommitdiff
path: root/crates/tor-netdoc/src/doc/netstatus/vote.rs
Commit message (Collapse)AuthorAgeFilesLines
* tor-checkable: Rename `TimeBound::is_valid_at` to `check_valid_at` (fmt)Ian Jackson2026-07-231-1/+5
|
* tor-checkable: Rename `TimeBound::is_valid_at` to `check_valid_at`Ian Jackson2026-07-231-1/+1
| | | | | I find this names confusing. To my mind "is" implies a function returning `bool`.
* Use new TimeRangeBound name throughout the treeIan Jackson2026-07-161-3/+3
|
* tor-netdoc tests: Test consensus verification error casesIan Jackson2026-07-151-2/+0
|
* tor-netdoc tests: Test verification of votes, error casesIan Jackson2026-06-221-1/+1
|
* tor-netdoc: Implement verification for votesIan Jackson2026-06-221-0/+90
|
* tor-netdoc: Introduce toplevel NeteworkStatus typeIan Jackson2026-06-091-0/+3
| | | | | | | | | | | | | All of the pieces are in place for this now. Some of the pieces are not entirely complete or correct at this point: that's sorted out by other MRs already open. Currently there is no encoding, no verification functdion, and no tests. Encoding depends on another oustanding MR (arti!4058). Verification depends on the rework in arti!4065. Tests are still to come.
* tor-netdoc: VarietyKeyword, replacing poc's flavour typeIan Jackson2026-05-271-0/+12
| | | | | | | This is more code than the poc version but much of the extra is documentation, and it seems much less magical this way. We still need a handwritten parser for plain consensuses, sadly.
* tor-netdoc: Provide some Vote thingsIan Jackson2025-08-261-0/+2
| | | | And export *RouterStatus with the macro, and *Header.
* tor-netdoc: Introduce experimental ns-vote featureIan Jackson2025-08-261-0/+7
Now we can start actually having code to do with votes. This feature doesn't actually contain any new API surface yet.