draoi 2 лет назад
Родитель
Сommit
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 Container for managing Grey, White, Gold and Black hostlists. Exposes
 /// a common interface for writing to and querying hostlists.
 /// 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 struct HostContainer {
     pub(in crate::net) hostlists: [RwLock<Vec<(Url, u64)>>; 5],
     pub(in crate::net) hostlists: [RwLock<Vec<(Url, u64)>>; 5],
 }
 }