浏览代码

Add bw_file_headers to networkstatus_t

juga0 5 年之前
父节点
当前提交
106eb08d27
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      src/feature/nodelist/networkstatus_st.h

+ 3 - 0
src/feature/nodelist/networkstatus_st.h

@@ -96,6 +96,9 @@ struct networkstatus_t {
 
   /** Contains the shared random protocol data from a vote or consensus. */
   networkstatus_sr_info_t sr_info;
+
+  /** List of key=value strings from the headers of the bandwidth list file */
+  smartlist_t *bw_file_headers;
 };
 
 #endif