瀏覽代碼

Improve doc of `primary_guards_up_to_date`.

George Kadianakis 7 年之前
父節點
當前提交
13f5adc86c
共有 1 個文件被更改,包括 4 次插入3 次删除
  1. 4 3
      src/or/entrynodes.h

+ 4 - 3
src/or/entrynodes.h

@@ -220,9 +220,10 @@ struct guard_selection_s {
   guard_selection_type_t type;
 
   /**
-   * A value of 1 means that primary_entry_guards is up-to-date; 0
-   * means we need to recalculate it before using primary_entry_guards
-   * or the is_primary flag on any guard.
+   * A value of 1 means that primary_entry_guards is up-to-date with respect to
+   * the consensus and status info that we currently have; 0 means we need to
+   * recalculate it before using primary_entry_guards or the is_primary flag on
+   * any guard.
    */
   int primary_guards_up_to_date;