| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | tor-netdoc: Stabilise votes and encoding of authcerts | Ian Jackson | 2026-07-15 | 1 | -1/+0 |
| | | |||||
| * | tor-netdoc tests: test vote roundtrip with testdata2 | Ian Jackson | 2026-06-22 | 1 | -9/+0 |
| | | | | | | | | | | | | Use roundtrip_netstatus, which does nearly all of the work for us. But for it to round-trip, we must do a bunch of fudging. This replaces the old parse2 vote test case (which used the poc type). The test case has some adjustments to cope with missing fields. Move the TODOs for those fields to the test case, so that they're on lines that will be deleted when the fields are implemented. | ||||
| * | tor-netdoc: tests: ns parse2 test: Round trip a plain consensus | Ian Jackson | 2026-06-17 | 1 | -1/+1 |
| | | |||||
| * | tor-netdoc: NetworkStatus: derive Encode | Ian Jackson | 2026-06-17 | 1 | -1/+1 |
| | | |||||
| * | tor-netdoc: Fix a trailing whitespace | Ian Jackson | 2026-06-11 | 1 | -1/+1 |
| | | |||||
| * | tor-netdoc: recommended versions: new {client,server}-versions type | Ian Jackson | 2026-06-11 | 1 | -6/+4 |
| | | | | | | | | | | | | This is a single comma-separated argument, with absence of the item being the same as absence of the arguemnt. The previous code had `Vec<String>` which in parse2 would mean zero or more occurrences of the item, with one argument each. The old parser would split the whole RHS of the arguments. It still does right now - we'll fix that in a moment. | ||||
| * | tor-netdoc: recommended versions: add spec links | Ian Jackson | 2026-06-11 | 1 | -0/+4 |
| | | |||||
| * | Merge branch 'validity-time-range' into 'main' | Clara Engler | 2026-06-11 | 1 | -0/+11 |
| |\ | | | | | | | | | tor-netdoc: ns preamble: break out validity_time_range See merge request tpo/core/arti!4054 | ||||
| | * | tor-netdoc: netstatus preamble: use saturating sub for starting_time | Ian Jackson | 2026-06-10 | 1 | -1/+1 |
| | | | |||||
| | * | tor-netdoc: ns preamble: break out validity_time_range (tidy) | Ian Jackson | 2026-06-03 | 1 | -5/+3 |
| | | | | | | | | | Remove the otiose `preamble` and `timebound_range` bindings again. | ||||
| | * | tor-netdoc: ns preamble: break out validity_time_range | Ian Jackson | 2026-06-03 | 1 | -0/+13 |
| | | | | | | | | | | | | | | | We are going to want to use this when we implement verification for network statuses from parse2. Review with --color-moved. | ||||
| * | | tor-netdoc: Fix a doc comment formatting botch | Ian Jackson | 2026-06-09 | 1 | -1/+1 |
| | | | |||||
| * | | tor-netdoc: Introduce toplevel NeteworkStatus type | Ian Jackson | 2026-06-09 | 1 | -0/+64 |
| |/ | | | | | | | | | | | | | 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: NetworkStatusVersionItem, replacing poc's tuple | Ian Jackson | 2026-05-27 | 1 | -0/+28 |
| | | | | | | Defining a struct gives us a place to hang the documentation, and avoids an accidentally-exhaustive tuple. | ||||
| * | tor-netdoc: Promote/adjust poc's NetworkStatusSignatures | Ian Jackson | 2026-05-27 | 1 | -0/+10 |
| | | | | | | | | | The order of arguments of poc's ns_type macro is different to that of the real code. This is very confusing! However, the type is correct, once we've added the singleton signature for votes. | ||||
| * | tor-netdoc: Replace poc's NddDirectoryFooter with new Footer | Ian Jackson | 2026-05-27 | 1 | -0/+21 |
| | | | | | | This is the whole of the footer section, with docs, appropriate derives, and so on. | ||||
| * | tor-netdoc: Soften a TODO. | Ian Jackson | 2026-05-13 | 1 | -2/+2 |
| | | | | | | Preamble now doesn't contain anything that's *wrong*. It is missing a couple of fields that will be wanted when we generate votes. | ||||
| * | tor-netdoc: Add a ticket reference for a TODO | Ian Jackson | 2026-05-13 | 1 | -1/+1 |
| | | | | | | This isn't needed for the arti dirauth consensus method, but it will be needed for arti dirauth vote calculator. | ||||
| * | tor-netdoc: Add shared-rand-*-status to VoteAuthorityEntry | Ian Jackson | 2026-05-13 | 1 | -1/+0 |
| | | |||||
| * | tor-netdoc: Break out SharedRandStatuses, and remove it from votes | Ian Jackson | 2026-05-13 | 1 | -6/+3 |
| | | |||||
| * | tor-netdoc: Un-gate parse2 and encode loose impls under doc/netstatus (tidy) | Ian Jackson | 2026-04-28 | 1 | -4/+1 |
| | | |||||
| * | tor-netdoc: Un-gate parse2 and encode loose impls under doc/netstatus | Ian Jackson | 2026-04-28 | 1 | -4/+3 |
| | | | | | | | | | | | | | | | | This stabilises the parse2 and encode impls of consensus tyepe: * {plain, md}::{Preamble, RouterStatus, RouterStatusIntroItem} It also un-gates the parse2 and encode impls of some vote types. * VoteAuthorityEntry - this type has been completed. * RouterStatusMdDigestsVote - whole type still gated with ns-vote Re the remaining vote types (vote::*): although each_variety.rs doesn't have a cfg itself, there is a feature gate in the variety macrology. | ||||
| * | tor-netdoc: Fix c&p error in comment | Ian Jackson | 2026-04-21 | 1 | -1/+1 |
| | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/3864#note_3397714 | ||||
| * | tor-netdoc: ns Premable: add missing field known_flags | Ian Jackson | 2026-04-21 | 1 | -1/+5 |
| | | |||||
| * | tor-netdoc: ns Preamble: derive NetdocEncodableFields | Ian Jackson | 2026-04-21 | 1 | -0/+1 |
| | | |||||
| * | tor-netdoc: ns Preamble: Use Constructor | Ian Jackson | 2026-04-21 | 1 | -1/+14 |
| | | |||||
| * | tor-netdoc: ns Preamble: use new deftly cfg approach | Ian Jackson | 2026-04-21 | 1 | -10/+8 |
| | | |||||
| * | tor-netdoc: Fix type of NotPresent items in ns Preamble | Ian Jackson | 2026-04-21 | 1 | -4/+6 |
| | | |||||
| * | tor-netdoc: netstatus preamble: Reorder fields to match spec order | Ian Jackson | 2025-12-18 | 1 | -21/+21 |
| | | | | | | As suggested here https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/3550#note_3313757 | ||||
| * | tor-netdoc: netstatus preamble: Add a lot of blank lines | Ian Jackson | 2025-12-18 | 1 | -0/+11 |
| | | | | | | I'm going to reorder things and this will make that much less error-prone, at least for me. | ||||
| * | tor-netdoc: netstatus preamble: Clarify TODO for known-flags | Ian Jackson | 2025-12-18 | 1 | -1/+1 |
| | | |||||
| * | tor-netdoc: netstatus: improve TODO comments | Ian Jackson | 2025-12-18 | 1 | -1/+10 |
| | | | | | | | | | This is the result of reading through the spec and comparing it to the struct. Prompted by https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/3550#note_3312672 | ||||
| * | tor-netdoc: Preamble: Parse published in votes | Ian Jackson | 2025-12-18 | 1 | -0/+3 |
| | | |||||
| * | tor-netdoc: Preamble: Parse consensus-methods in votes | Ian Jackson | 2025-12-18 | 1 | -0/+2 |
| | | |||||
| * | tor-netdoc: Preamble: Fix consensus-method parsing in votes | Ian Jackson | 2025-12-18 | 1 | -1/+1 |
| | | |||||
| * | tor-netdoc: impl NetdocParseableFields for Preamble | Ian Jackson | 2025-12-18 | 1 | -0/+12 |
| | | |||||
| * | tor-netdoc: Preamble: Fix garbled doc comment | Ian Jackson | 2025-10-22 | 1 | -1/+1 |
| | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/3378#note_3277957 | ||||
| * | tor-netdoc: Preamble: rename relay_version field to server_version | Ian Jackson | 2025-10-22 | 1 | -1/+1 |
| | | | | | This makes it match the protocol and the spec. | ||||
| * | tor-netdoc: Say Preamble doesn't contain vote-status, in summary. | Ian Jackson | 2025-10-22 | 1 | -1/+1 |
| | | |||||
| * | tor-netdoc: Explain that Preamble doesn't contain vote-status either. | Ian Jackson | 2025-10-22 | 1 | -1/+1 |
| | | |||||
| * | tor-netdoc: netstatus: Preamble: Name the protocols fields in doc | Ian Jackson | 2025-10-22 | 1 | -0/+2 |
| | | |||||
| * | tor-netdoc: netstatus: Preamble: rename shared rand fields to match doc | Ian Jackson | 2025-10-22 | 1 | -2/+2 |
| | | | | | | We should use the same name everywhere, even if the name in the spec is clumsy (as it is here). | ||||
| * | tor-netdoc: Move ConsensusFlavor into Consensus struct | Ian Jackson | 2025-10-22 | 1 | -4/+7 |
| | | | | | | | We're going to want to apply the parse2 derive to Preamble, but this field is anomalous. Rather than trying to make it regular, simply move it to the old-parser-specific Consensus struct. | ||||
| * | tor-netdoc: Rename consensus Header to Preamble | Ian Jackson | 2025-10-22 | 1 | -2/+4 |
| | | | | | | There is no such thing as the "header" according to the spec. We mean the preamble. | ||||
| * | tor-netdoc: Abolish `dangerous-expose-struct-fields`; always expose, instead | Ian Jackson | 2025-10-01 | 1 | -28/+12 |
| | | | | | Fixes #2192 | ||||
| * | tor-netdoc: Provide some Vote things | Ian Jackson | 2025-08-26 | 1 | -0/+55 |
| | | | | | And export *RouterStatus with the macro, and *Header. | ||||
| * | tor-netdoc: Move all each_variety code to each_flavor | Ian Jackson | 2025-08-26 | 1 | -590/+0 |
| | | | | | | | | The amount we're going to be able to reuse for votes is less than we might hope. This commit is just code motion. | ||||
| * | tor-netdoc: ns variety: Provide for flavour-only items | Ian Jackson | 2025-08-26 | 1 | -1/+1 |
| | | |||||
| * | tor-netdoc: Fix comments to refer to items | Ian Jackson | 2025-08-26 | 1 | -1/+1 |
| | | | | | It's not just types that can vary by variety. | ||||
| * | tor-netdoc: Fix some out-of-date comments | Ian Jackson | 2025-08-26 | 1 | -1/+1 |
| | | | | | We rename the files from per_ to each_. | ||||
