aboutsummaryrefslogtreecommitdiff
path: root/dir-spec.txt
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2020-09-17 10:59:09 -0400
committerNick Mathewson <nickm@torproject.org>2020-09-17 10:59:09 -0400
commitc2e507b42a64b554db5936f481e9b5ca54ef13c7 (patch)
tree732b81c51ba3fa35a4caca08cec80a7bc45986a4 /dir-spec.txt
parent01122c5bd7d2f0fbb45991dcdddede30a358130f (diff)
downloadtorspec-c2e507b42a64b554db5936f481e9b5ca54ef13c7.tar.gz
torspec-c2e507b42a64b554db5936f481e9b5ca54ef13c7.zip
Clarify routerdesc expiration.
Diffstat (limited to 'dir-spec.txt')
-rw-r--r--dir-spec.txt11
1 files changed, 5 insertions, 6 deletions
diff --git a/dir-spec.txt b/dir-spec.txt
index 74493ad..ac0cc41 100644
--- a/dir-spec.txt
+++ b/dir-spec.txt
@@ -3789,12 +3789,11 @@
failure count.
Clients retain the most recent descriptor they have downloaded for each
- router so long as it is not too old (currently, 48 hours), OR so long as
- no better descriptor has been downloaded for the same router.
-
- [Versions of Tor before 0.1.2.3-alpha would discard descriptors simply for
- being published too far in the past.] [The code seems to discard
- descriptors in all cases after they're 5 days old. True? -RD]
+ router so long as it is listed in the consensus. If it is not listed,
+ they keep it so long as it is not too old (currently, ROUTER_MAX_AGE=48
+ hours) and no better router descriptor has been downloaded for the same
+ relay. Caches retain descriptors until they are at least
+ OLD_ROUTER_DESC_MAX_AGE=5 days old.
Clients which chose to download the microdescriptor consensus instead
of the general consensus must download the referenced microdescriptors