aboutsummaryrefslogtreecommitdiff
path: root/dir-spec.txt
diff options
context:
space:
mode:
authorIain R. Learmonth <irl@fsfe.org>2018-11-12 21:51:43 +0000
committerIain R. Learmonth <irl@fsfe.org>2018-11-12 21:51:43 +0000
commitd97f8d980be01bda3f6122fc6220406f4592a717 (patch)
treeabab547324e6743e7d8f247c8c31e44ccc2f48af /dir-spec.txt
parent9d8c044057807abfd9407d2b23acf6b95b142c1d (diff)
downloadtorspec-d97f8d980be01bda3f6122fc6220406f4592a717.tar.gz
torspec-d97f8d980be01bda3f6122fc6220406f4592a717.zip
dir-spec: The ns consensus isn't explicitly ns
tor does not generate ns consensuses that are explicitly labelled as ns consensuses. This updates the spec to make the flavor portion optional, and to allow the assumption to be made that if a flavor is omitted from the "network-status-version" line then it is "ns". One "flavour" was also turned into a "flavor" for consistency.
Diffstat (limited to 'dir-spec.txt')
-rw-r--r--dir-spec.txt15
1 files changed, 7 insertions, 8 deletions
diff --git a/dir-spec.txt b/dir-spec.txt
index 8da28c4..df824e6 100644
--- a/dir-spec.txt
+++ b/dir-spec.txt
@@ -2511,7 +2511,7 @@
A minority of voting authorities that set AuthDirHasIPv6Connectivity will
drop unreachable IPv6 ORPorts from the full consensus. Consensus method 27
in 0.3.3.x puts IPv6 ORPorts in the microdesc consensus, so that
- authorities can drop unreachable IPv6 ORPorts from all consensus flavours.
+ authorities can drop unreachable IPv6 ORPorts from all consensus flavors.
Consensus method 28 removes IPv6 ORPorts from microdescriptors.
"Stable" -- A router is 'Stable' if it is active, and either its Weighted
@@ -3208,16 +3208,15 @@
"network-status-version" where version is 3 or higher, and the flavor
is a string consisting of alphanumeric characters and dashes:
- "network-status-version" SP version SP flavor NL
+ "network-status-version" SP version [SP flavor] NL
3.9.1. ns consensus
- The ns consensus flavor is equivalent to the unflavored consensus
- except for its first line which states its consensus flavor name:
-
- "network-status-version" SP version SP "ns" NL
-
- [At start, exactly once.]
+ The ns consensus flavor is equivalent to the unflavored consensus.
+ When the flavor is omitted from the "network-status-version" line,
+ it should be assumed to be "ns". Some implementations may explicitly
+ state that the flavor is "ns" when generating consensuses, but should
+ accept consensuses where the flavor is omitted.
3.9.2. Microdescriptor consensus