Implement a better clock skew estimator.
This time, our estimator discards outliers, takes the mean of what's left, and uses the standard deviation to try to figure out how seriously to take our report of skew/not-skew. These estimates are still not actually used.
Showing
- Cargo.lock 1 addition, 0 deletionsCargo.lock
- crates/tor-guardmgr/Cargo.toml 2 additions, 0 deletionscrates/tor-guardmgr/Cargo.toml
- crates/tor-guardmgr/src/skew.rs 306 additions, 16 deletionscrates/tor-guardmgr/src/skew.rs
- crates/tor-proto/src/util/skew.rs 75 additions, 8 deletionscrates/tor-proto/src/util/skew.rs
- doc/semver_status.md 6 additions, 0 deletionsdoc/semver_status.md
Loading
Please register or sign in to comment