aboutsummaryrefslogtreecommitdiff
path: root/spec/dir-spec/directory-cache-operation.md
diff options
context:
space:
mode:
Diffstat (limited to 'spec/dir-spec/directory-cache-operation.md')
-rw-r--r--spec/dir-spec/directory-cache-operation.md8
1 files changed, 5 insertions, 3 deletions
diff --git a/spec/dir-spec/directory-cache-operation.md b/spec/dir-spec/directory-cache-operation.md
index 6003d64..ed14fc2 100644
--- a/spec/dir-spec/directory-cache-operation.md
+++ b/spec/dir-spec/directory-cache-operation.md
@@ -62,12 +62,12 @@ descriptor seemed newest.)
Directory mirrors should fetch, cache, and serve each microdescriptor
from the authorities.
-The microdescriptors with base64 hashes <D1>,<D2>,<D3> are available
+The microdescriptors with base64 hashes `<D1>`, `<D2>`, `<D3>` are available
at:
-http://<hostname>/tor/micro/d/<D1>-<D2>-<D3>[.z]
+`http://<hostname>/tor/micro/d/<D1>-<D2>-<D3>[.z]`
-<Dn> are base64 encoded with trailing =s omitted for size and for
+`<Dn>` are base64 encoded with trailing =s omitted for size and for
consistency with the microdescriptor consensus format. -s are used
instead of +s to separate items, since the + character is used in
base64 encoding.
@@ -143,8 +143,10 @@ send that diff instead of the specified consensus.
Caches also serve diffs from the URIs:
+```
/tor/status-vote/current/consensus/diff/<HASH>/<FPRLIST>.z
/tor/status-vote/current/consensus-<FLAVOR>/diff/<HASH>/<FPRLIST>.z
+```
where FLAVOR is the consensus flavor, defaulting to "ns", and
FPRLIST is +-separated list of recognized authority identity