]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
commit some odds and ends, so my tree is clean
authorRoger Dingledine <arma@torproject.org>
Wed, 4 Aug 2004 05:10:49 +0000 (05:10 +0000)
committerRoger Dingledine <arma@torproject.org>
Wed, 4 Aug 2004 05:10:49 +0000 (05:10 +0000)
svn:r2137

src/or/circuitbuild.c
src/or/or.h
src/or/router.c

index 40c57e01b00d65982383ff388624e713188d5ade..9eefc6768990823a277d547d45f56f43d443820b 100644 (file)
@@ -389,6 +389,7 @@ int circuit_send_next_onion_skin(circuit_t *circ) {
       if(!has_completed_circuit) {
         has_completed_circuit=1;
         log_fn(LOG_NOTICE,"Tor has successfully opened a circuit. Looks like it's working.");
+// XXX008 put a count of known routers here
       }
       circuit_rep_hist_note_result(circ);
       circuit_has_opened(circ); /* do other actions as necessary */
index 34290e45421ad6e01f96c8834e307b0220446a22..167b6d86a3c48ff4c55b566cba90f39299573240 100644 (file)
@@ -869,6 +869,8 @@ typedef struct {
   int NumCpus; /**< How many CPUs should we try to use? */
   int RunTesting; /**< If true, create testing circuits to measure how well the
                    * other ORs are running. */
+  struct config_line_t *TrustedDirs; /**< List of fingerprints of keys that are
+                                          allowed to sign directories. */
   struct config_line_t *RendConfigLines; /**< List of configuration lines
                                           * for rendezvous services. */
   char *ContactInfo; /** Contact info to be published in the directory */
index 937370ca1471e689a5f6bbc9ad395e19e6a303c8..fb53c8a002a51d840e62d202d0d9af1abf02f1ac 100644 (file)
@@ -124,7 +124,7 @@ void rotate_onion_key(void)
   log_fn(LOG_WARN, "Couldn't rotate onion key.");
 }
 
-/** The last calculated bandwidth usage for our node. */
+/** The latest calculated bandwidth usage for our node. */
 static int advertised_bw = 0;
 /** Tuck <b>bw</b> away so we can produce it when somebody
  * calls router_get_advertised_bandwidth() below.