Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug26294 rebased squashed #1207

Closed
wants to merge 9 commits into from

Conversation

Labels
None yet
Projects
None yet
3 participants
@asn-d6
Copy link
Member

@asn-d6 asn-d6 commented Aug 6, 2019

No description provided.

asn-d6 added 9 commits Aug 5, 2019
Make it take an optional node argument so that we can also have node keys as
part of the intro point object.
Will be used to wipe the replaycache after a certain number of objects have
been cached.
It tests the current behavior: Intro point should expire after some introductions.
We no longer want to expire the intro point after a certain number of
introductions, and that's the only reason that field was used for.
We now want to wipe the replay cache after a certain number of introductions
but keep the intro point intact.

Also increase the size of the replay cache to fit 150k-300k introductions.
We now want to wipe the replay cache after a certain number of intros, but keep
the intro point intact.
INTRO_POINT_MIN_LIFETIME_INTRODUCTIONS -> INTRO_POINT_REPLAY_CACHE_MIN_INTRODUCTIONS
INTRO_POINT_MAX_LIFETIME_INTRODUCTIONS -> INTRO_POINT_REPLAY_CACHE_MAX_INTRODUCTIONS
ip->introduce2_max -> ip->replay_cache_max_introduce2

This commit does not change any behavior.
@coveralls
Copy link

@coveralls coveralls commented Aug 6, 2019

Pull Request Test Coverage Report for Build 5710

  • 21 of 28 (75.0%) changed or added relevant lines in 5 files are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage increased (+0.2%) to 63.064%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/feature/hs/hs_circuit.c 0 1 0.0%
src/feature/rend/rendservice.c 0 6 0.0%
Files with Coverage Reduction New Missed Lines %
src/feature/rend/rendservice.c 1 32.6%
Totals Coverage Status
Change from base Build 5698: 0.2%
Covered Lines: 47394
Relevant Lines: 75152

💛 - Coveralls

@torproject-pusher torproject-pusher deleted the branch torproject:master May 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment