Browse Source

Refactor authority.i timings

Preparation for 27300.
teor 4 years ago
parent
commit
bd12413439
1 changed files with 13 additions and 11 deletions
  1. 13 11
      torrc_templates/authority.i

+ 13 - 11
torrc_templates/authority.i

@@ -2,18 +2,20 @@ AuthoritativeDirectory 1
 V3AuthoritativeDirectory 1
 ContactInfo auth${nodenum}@test.test
 
-# Speed up the consensus cycle as fast as it will go
-# Voting Interval can be:
-#   10, 12, 15, 18, 20, 24, 25, 30, 36, 40, 45, 50, 60, ...
-# Testing Initial Voting Interval can be:
-#    5,  6,  8,  9, or any of the possible values for Voting Interval,
-# as they both need to evenly divide 30 minutes.
-# If clock desynchronisation is an issue, use an interval of at least:
-#   18 * drift in seconds, to allow for a clock slop factor
+# Speed up the consensus cycle as fast as it will go.
+# If clock desynchronisation is an issue, increase these voting times.
+
+# V3AuthVotingInterval and TestingV3AuthInitialVotingInterval can be:
+#   10, 12, 15, 18, 20, ...
+# TestingV3AuthInitialVotingInterval can also be:
+#    5, 6, 8, 9
+# They both need to evenly divide 24 hours.
+
+# Testing Vote + Testing Dist must be less than Testing Interval
 TestingV3AuthInitialVotingInterval 5
-V3AuthVotingInterval 10
-# VoteDelay + DistDelay must be less than VotingInterval
 TestingV3AuthInitialVoteDelay 2
-V3AuthVoteDelay 2
 TestingV3AuthInitialDistDelay 2
+# Vote + Dist must be less than Interval/2
+V3AuthVotingInterval 10
+V3AuthVoteDelay 2
 V3AuthDistDelay 2