瀏覽代碼

chore: update hosts.rs TODOs

draoi 2 年之前
父節點
當前提交
1dcd31ee3a
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      src/net/hosts.rs

+ 1 - 2
src/net/hosts.rs

@@ -279,8 +279,7 @@ impl TryFrom<usize> for HostColor {
 
 /// A Container for managing Grey, White, Gold and Black hostlists. Exposes
 /// a common interface for writing to and querying hostlists.
-// TODO: Verify the performance overhead of using vectors for hostlists.
-// TODO: Check whether anchorlist (Gold) has a max size in Monero.
+// TODO: Benchmark hostlist operations when the hostlist is at max size.
 pub struct HostContainer {
     pub(in crate::net) hostlists: [RwLock<Vec<(Url, u64)>>; 5],
 }