소스 검색

note that routerstatus_t.entries is sorted.

svn:r5044
Nick Mathewson 20 년 전
부모
커밋
6aa8850d90
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  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. */