瀏覽代碼

Update README to account for these changes

onyinyang 3 年之前
父節點
當前提交
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
    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
    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.
    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
 #### lox-distributor