aboutsummaryrefslogtreecommitdiff
path: root/proposals/281-bulk-md-download.txt
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-08-28 11:32:28 -0400
committerNick Mathewson <nickm@torproject.org>2017-08-28 11:32:28 -0400
commited88a5d4d930928d687f82ee3d47d96e6ee11c30 (patch)
treecd1bf272962ade0f01c39326c4b8c1b34f90c9dd /proposals/281-bulk-md-download.txt
parent502fd7b0f5469940590013856eb4762ad4f17d68 (diff)
downloadtorspec-ed88a5d4d930928d687f82ee3d47d96e6ee11c30.tar.gz
torspec-ed88a5d4d930928d687f82ee3d47d96e6ee11c30.zip
prop281: Clarification based on comments from teor
Diffstat (limited to 'proposals/281-bulk-md-download.txt')
-rw-r--r--proposals/281-bulk-md-download.txt20
1 files changed, 15 insertions, 5 deletions
diff --git a/proposals/281-bulk-md-download.txt b/proposals/281-bulk-md-download.txt
index 9b1d669..38c0a20 100644
--- a/proposals/281-bulk-md-download.txt
+++ b/proposals/281-bulk-md-download.txt
@@ -36,7 +36,9 @@ Status: Draft
If answering, caches MUST reply with all of the
microdescriptors that the cache holds that were listed by
consensus X, and MUST omit all the microdescriptors that were
- omitted listed in consensus Y.
+ not listed in consensus Y. (For the purposes of this proposal,
+ microdescriptors are "the same" if they are textually identical
+ and have the same digest.)
2.2. By consensus:
@@ -52,10 +54,18 @@ Status: Draft
2.3. When to make these requests
- Clients should decide to use this format in preference to the
- old download-by-digest format if the consensus X lists their
- preferred directory cache as using a new DirCache subprotocol
- version. (See 5 below.)
+ Clients should decide to use this format in preference to the old
+ download-by-digest format if the consensus X lists their preferred
+ directory cache as using a new DirCache subprotocol version. (See
+ 5 below.)
+
+ When a client has some preferred directory caches that support
+ this subprotocol and some that do not, it chooses one at random,
+ and uses these requests if that one supports this subprotocol.
+
+ (A client always has a consensus when it requests
+ microdescriptors, so it will know whether any given cache supports
+ these requests.)
3. Performance analysis