hs_service: don't force high intro point rotation for TestingTorNetwork
commitd2249616090306ff20dc87a7960efa038030f2e8
authorJim Newsome <jnewsome@torproject.org>
Tue, 12 Mar 2024 14:16:47 +0000 (12 09:16 -0500)
committerJim Newsome <jnewsome@torproject.org>
Thu, 14 Mar 2024 14:36:59 +0000 (14 09:36 -0500)
tree97d752b194deff2e15880832af9e2948ddd0bd9a
parentd1e8c7a60361f2553c1abb1ec1a1e6a1dbc73185
hs_service: don't force high intro point rotation for TestingTorNetwork

This was previously added to facilitate testing intro point rotation
with chutney. However, the implementation is problematic since it forces
excessive rotation whenever TestingTorNetwork is enabled, and can't be
adjusted or disabled.

Alternatives for testing intro point rotation include:
 * Using shadow to "fast forward" time
 * Overriding the consensus parameters hs_intro_min_lifetime and
   hs_intro_max_lifetime.

Fixes #40922
changes/bug40922 [new file with mode: 0644]
src/feature/hs/hs_service.c