]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
now that we parse router->uptime, make use of it
authorRoger Dingledine <arma@torproject.org>
Tue, 17 Aug 2004 06:42:30 +0000 (06:42 +0000)
committerRoger Dingledine <arma@torproject.org>
Tue, 17 Aug 2004 06:42:30 +0000 (06:42 +0000)
svn:r2251

src/or/routerlist.c

index 16cd55dada99771f4df0ea7df198c4deae6f0946..149897ff9f7154109cb353fe3e4534f9ef901d78 100644 (file)
@@ -218,8 +218,7 @@ router_add_running_routers_to_smartlist(smartlist_t *sl, int allow_unverified)
 /** How many seconds a router must be up before we'll use it for
  * reliability-critical node positions.
  */
-#define ROUTER_REQUIRED_MIN_UPTIME 0
- /* XXX008 change this once we parse router->uptime */
+#define ROUTER_REQUIRED_MIN_UPTIME 3600 /* an hour */
 
 static void
 routerlist_sl_remove_unreliable_routers(smartlist_t *sl)