aboutsummaryrefslogtreecommitdiff
path: root/spec/dir-spec/computing-consensus.md
diff options
context:
space:
mode:
Diffstat (limited to 'spec/dir-spec/computing-consensus.md')
-rw-r--r--spec/dir-spec/computing-consensus.md18
1 files changed, 9 insertions, 9 deletions
diff --git a/spec/dir-spec/computing-consensus.md b/spec/dir-spec/computing-consensus.md
index 1236e7e..39d6e5f 100644
--- a/spec/dir-spec/computing-consensus.md
+++ b/spec/dir-spec/computing-consensus.md
@@ -1,5 +1,5 @@
-## Computing a consensus from a set of votes { #computing-consensus }
+# Computing a consensus from a set of votes { #computing-consensus }
Given a set of votes, authorities compute the contents of the consensus.
@@ -233,7 +233,7 @@ earlier item.
<a id="dir-spec.txt-3.8.0.1"></a>
-### Deciding which Ids to include { #choosing-relay-ids }
+## Deciding which Ids to include { #choosing-relay-ids }
This sorting algorithm is used for consensus-method 22 and later.
@@ -260,7 +260,7 @@ This sorting algorithm is used for consensus-method 22 and later.
<a id="dir-spec.txt-3.8.0.2"></a>
-#### Deciding which descriptors to include { #choosing-relay-descs }
+### Deciding which descriptors to include { #choosing-relay-descs }
Deciding which descriptors to include.
@@ -279,7 +279,7 @@ published, and then in favor of the smaller server descriptor digest.
<a id="dir-spec.txt-3.8.1"></a>
-### Forward compatibility { #consensus-method-list }
+## Forward compatibility { #consensus-method-list }
Future versions of Tor will need to include new information in the
consensus documents, but it is important that all authorities (or at least
@@ -354,7 +354,7 @@ NOT advertise support for them:
<a id="dir-spec.txt-3.8.2"></a>
-### Encoding port lists
+## Encoding port lists
Whether the summary shows the list of accepted ports or the list of
rejected ports depends on which list is shorter (has a shorter string
@@ -376,7 +376,7 @@ possible within these 1000 bytes. \[XXXX be more specific.\]
<a id="dir-spec.txt-3.8.3"></a>
-### Computing Bandwidth Weights
+## Computing Bandwidth Weights
Let weight_scale = 10000, or the value of the "bwweightscale" parameter.
(Before consensus method 31 there was a bug in parsing bwweightscale, so
@@ -559,7 +559,7 @@ Wgm=Wgg, Wem=Wee, Weg=Wed
<a id="dir-spec.txt-3.9"></a>
-### Computing consensus flavors
+## Computing consensus flavors
Consensus flavors are variants of the consensus that clients can choose
to download and use instead of the unflavored consensus. The purpose
@@ -601,7 +601,7 @@ is a string consisting of alphanumeric characters and dashes:
<a id="dir-spec.txt-3.9.1"></a>
-#### ns consensus
+### ns consensus
The ns consensus flavor is equivalent to the unflavored consensus.
When the flavor is omitted from the "network-status-version" line,
@@ -611,7 +611,7 @@ accept consensuses where the flavor is omitted.
<a id="dir-spec.txt-3.9.2"></a>
-#### Microdescriptor consensus
+### Microdescriptor consensus
The microdescriptor consensus is a consensus flavor that contains
microdescriptor hashes instead of descriptor hashes and that omits