Kaynağa Gözat

note that routerstatus_t.entries is sorted.

svn:r5044
Nick Mathewson 20 yıl önce
ebeveyn
işleme
6aa8850d90
1 değiştirilmiş dosya ile 2 ekleme ve 1 silme
  1. 2 1
      src/or/or.h

+ 2 - 1
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. */