From 3ea32f51cbae1e42e3425539f26c63e87360bf2b Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Thu, 15 Dec 2005 20:49:01 +0000 Subject: add a few clarifying comments svn:r5592 --- src/or/or.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'src/or') 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 -- cgit v1.2.3-54-g00ecf