summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2006-04-09 01:00:24 +0000
committerRoger Dingledine <arma@torproject.org>2006-04-09 01:00:24 +0000
commit0871f4ef90ea878a38a9764da89b4ea7cc7f4b45 (patch)
treeaa6d907b4973191018abb68c93b2d9315dea8c7c
parentd48cdbe2e0a1f6ee8e223c71fdeb57ed50b8414a (diff)
downloadtor-0871f4ef90ea878a38a9764da89b4ea7cc7f4b45.tar.gz
tor-0871f4ef90ea878a38a9764da89b4ea7cc7f4b45.zip
Remove about 30% of the v1 directory bulk by not including down or
invalid nodes. This will make exitlist's running on v1 not very good. I feel sorry for them, but not as sorry as I feel for the directory mirrors. svn:r6332
-rw-r--r--src/or/dirserv.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c
index a56582144d..d62386aad7 100644
--- a/src/or/dirserv.c
+++ b/src/or/dirserv.c
@@ -752,10 +752,8 @@ live_enough_for_v1_dir(routerinfo_t *ri, time_t now)
time_t cutoff = now - ROUTER_MAX_AGE_TO_PUBLISH;
if (ri->cache_info.published_on < cutoff)
return 0;
-#if 0
if (!ri->is_running || !ri->is_valid)
return 0;
-#endif
return 1;
}