Просмотр исходного кода

Update README to account for these changes

onyinyang 2 лет назад
Родитель
Сommit
12921bfcd0
1 измененных файлов с 1 добавлено и 5 удалено
  1. 1 5
      README.md

+ 1 - 5
README.md

@@ -29,12 +29,8 @@ These changes are necessary to keep the consistentcy of bridges in buckets that
    bridge should not be distributed. Since we do not know if the results of
    these tests indicate a blocking event, we are allowing for bridges that
    rdsys marks as `gone` to be updated without penalty in the Lox library.
-4. The above has led to some additional changes to the `BridgeTable` structure
-   that can be found in [`crates/lox-library/src/bridge_table.rs`](https://gitlab.torproject.org/tpo/anti-censorship/lox-rs/-/blob/main/crates/lox-library/src/bridge_table.rs) and include a `recyclable` field that indicates indexes within the bucket vector that can be reused and `unallocated_bridges` which account for left-over bridges that are eligible to be assigned but were left over when the total number of bridges % `MAX_BRIDGES_PER_BUCKET` is not 0.
+4. The vectors within `bridge_table.rs` have been refactored into HashMaps that use a unique `u32` for lookup. This will be backed by some kind of persistent storage prior to deployment.
 
-In the near future, the vectors within `bridge_table.rs` will likely be
-refactored into maps that use a bridge's fingerprint for lookup. This will
-be backed by some kind of persistent storage prior to deployment.
 
 #### lox-distributor