summaryrefslogtreecommitdiff
path: root/crates/tor-congestion/src/lib.rs
Commit message (Collapse)AuthorAgeFilesLines
* enable doc_auto_cfg feature on every crate when documenting for docs.rstrinity-1686a2022-08-241-0/+1
|
* tor-congestion: implement the RTT estimation algorithm from prop#324eta2022-08-111-0/+51
This commit implements the round-trip-time estimation algorithm from Tor proposal 324, validating the implementation against the test vectors found in C tor. (Note that at the time of writing, the new test vectors may not be committed to C tor yet, but they will be soon.) This also adds the necessary consensus parameters to `NetParameters`. Some of them have been renamed in order to (hopefully) make them more understandable.