aboutsummaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-12-15 20:49:01 +0000
committerNick Mathewson <nickm@torproject.org>2005-12-15 20:49:01 +0000
commit3ea32f51cbae1e42e3425539f26c63e87360bf2b (patch)
treeed8727ccfa53efd2046518d85638d5497aee5f71 /src/or
parentce71b17224a10dec18c4d54f5d2bb00ffe368030 (diff)
downloadtor-3ea32f51cbae1e42e3425539f26c63e87360bf2b.tar.gz
tor-3ea32f51cbae1e42e3425539f26c63e87360bf2b.zip
add a few clarifying comments
svn:r5592
Diffstat (limited to 'src/or')
-rw-r--r--src/or/or.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 29fa512b92..ab3f281526 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -832,9 +832,10 @@ typedef struct routerstatus_t {
unsigned int is_running:1; /**< True iff this router is up. */
unsigned int is_named:1; /**< True iff "nickname" belongs to this router. */
unsigned int is_valid:1; /**< True iff this router is validated. */
- unsigned int is_v2_dir:1; /**< True iff this router can serve router
+ unsigned int is_v2_dir:1; /**< True iff this router can serve directory
* information with v2 of the directory
- * protocol */
+ * protocol. (All directory caches cache v1
+ * directories.) */
} routerstatus_t;
/** DOCDOC */
@@ -2189,9 +2190,9 @@ typedef struct trusted_dir_server_t {
uint16_t dir_port; /**< Directory port */
char digest[DIGEST_LEN]; /**< Digest of identity key */
unsigned int is_running:1; /**< True iff we think this server is running. */
- unsigned int is_v1_authority:1; /**< True iff this server is an
- * authority for the older ("v1")
- * directory protocol.*/
+ /** True iff this server is an authority for the older ("v1") directory
+ * protocol. (All authorities are v2 authorities.) */
+ unsigned int is_v1_authority:1;
int n_networkstatus_failures; /**< How many times have we asked for this
* server's network-status unsuccessfully? */
routerstatus_t fake_status; /**< Used when we need to pass this trusted