summaryrefslogtreecommitdiff
path: root/crates/tor-netdir/src/hsdir_params.rs
Commit message (Expand)AuthorAgeFilesLines
* Fix name of clippy lint to unchecked_time_subtraction (2)Ian Jackson2025-11-061-1/+1
* tor-netdoc: Apply much rustfmt churnIan Jackson2025-08-261-1/+1
* tor-netdoc: Remove generics from Consensus and its contentsIan Jackson2025-08-261-2/+2
* tor-netdoc: netstatus: Move everything variety-specificIan Jackson2025-08-261-2/+2
* Switch Cargo.toml files to edition 2024.Nick Mathewson2025-08-071-1/+1
* Resolve clippy::empty_line_after_doc_comments warnings.Nick Mathewson2024-12-031-1/+1
* Run maint/add_warning.Nick Mathewson2024-03-131-0/+1
* Fix typos in doc commentsTobias Stoeckmann2024-03-061-1/+1
* tor-netdir: Add a unit test for HsDirParams::offset_within_srv_period.Gabriela Moldovan2024-01-241-0/+37
* tor-hsservice: Make offset_within_srv_period() work with timestamps from newe...Gabriela Moldovan2024-01-241-4/+4
* tor-netdir, tor-hscrypto: Add function for computing SRV period offset.Gabriela Moldovan2024-01-241-3/+22
* Expose HsDirParams, and give it accessors.Nick Mathewson2024-01-231-1/+19
* hsservice: Make HsDirParams include the SRV lifespan.Nick Mathewson2024-01-231-11/+15
* Run maint/add_warning to add lint block everywhereIan Jackson2023-08-231-0/+1
* Run maint/add_warning to actually apply new lint allowsIan Jackson2023-07-101-0/+1
* Downgrade TODO HS on HsDirParams::compute().expect()Nick Mathewson2023-06-291-0/+15
* netdir: remove unnecessary wraps from srv_interval, extract_srvsNick Mathewson2023-06-291-13/+12
* netdir: Move voting_period() to netdoc::LifetimeNick Mathewson2023-06-291-14/+7
* hscrypto: fix TODOs in time-period code.Nick Mathewson2023-06-131-7/+9
* Rename onion-* cargo features to hs-* in tor-* cratesIan Jackson2023-02-281-4/+4
* Fix compilation with various feature combinationsIan Jackson2023-02-091-1/+8
* hsdir representation: Introduce HsDirs generic typeIan Jackson2023-02-091-5/+5
* hsdir: Implement HS hash ring index calculationsIan Jackson2023-02-091-1/+0
* hsdir: impl Eq for HsDirParamsIan Jackson2023-02-091-1/+1
* hsdir: Rename HsRingParams to HsDirParamsIan Jackson2023-02-091-10/+14
* hsdir_params: Rename some variables for consistencyIan Jackson2023-02-091-9/+9
* hsdir: Replace open-coded params fields and args with HsRingParamsIan Jackson2023-02-091-0/+1
* hs time handling: Make TimePeriod contain length as IntegerMinutesIan Jackson2023-02-091-2/+2
* netdir: remove duplicate code in param calculationNick Mathewson2023-01-281-23/+31
* netdir: remove the vestigial smallvec implementation I addedNick Mathewson2023-01-281-1/+1
* Turn compute_ring_params into a method.Nick Mathewson2023-01-281-54/+60
* Several suggestions on gitlab.Ian Jackson2023-01-281-0/+2
* netdir: Implement ring-param constructors and time period accessorsNick Mathewson2023-01-281-0/+463