From 872cde290e2dd55c7ff2598e782958545dcc34c9 Mon Sep 17 00:00:00 2001 From: Jim Newsome Date: Mon, 29 Jun 2026 10:21:27 -0500 Subject: [PATCH] Set "AuthDirVoteStableGuaranteeMinUptime 0". This should ensure that all relays get the Stable flag, fixing #123. --- tornettools/generate_tor.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tornettools/generate_tor.py b/tornettools/generate_tor.py index 3449e69..5c36ecd 100644 --- a/tornettools/generate_tor.py +++ b/tornettools/generate_tor.py @@ -304,6 +304,8 @@ def __generate_torrc_relay_authority(conf_path, relays): torrc_file.write('TestingDirAuthVoteGuardIsStrict 1\n') torrc_file.write('TestingDirAuthVoteExit {}\n'.format(','.join(exit_fps))) torrc_file.write('TestingDirAuthVoteExitIsStrict 1\n') + # Ensure all relays get the Stable flag. See #123. + torrc_file.write('AuthDirVoteStableGuaranteeMinUptime 0\n') torrc_file.close()