aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-09-14 02:28:35 +0000
committerNick Mathewson <nickm@torproject.org>2005-09-14 02:28:35 +0000
commit6aa8850d9031c29fac3457f6ed70200932437b2d (patch)
tree739f27e23063479cef156b4a4688daa3c3adc416
parent10893e7254ea873bfe434d554fe5eec348bb399a (diff)
downloadtor-6aa8850d9031c29fac3457f6ed70200932437b2d.tar.gz
tor-6aa8850d9031c29fac3457f6ed70200932437b2d.zip
note that routerstatus_t.entries is sorted.
svn:r5044
-rw-r--r--src/or/or.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 441a556b1f..3fd661a2b4 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -835,7 +835,8 @@ typedef struct networkstatus_t {
int binds_names:1; /**< True iff this directory server binds names. */
- smartlist_t *entries; /**< List of router_status_t*. */
+ smartlist_t *entries; /**< List of router_status_t*. This list is kept
+ * sorted by identity_digest. */
} networkstatus_t;
/** Contents of a directory of onion routers. */