Pārlūkot izejas kodu

Set the fraction of fallback relays to the actual fraction in Jan 2020

Ian Goldberg 4 gadi atpakaļ
vecāks
revīzija
16e481013a
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  1. 2 1
      simulator.py

+ 2 - 1
simulator.py

@@ -23,7 +23,8 @@ class Simulator:
         numdirauths = 9
 
         # The fraction of relays that are fallback relays
-        fracfallbackrelays = 0.05
+        # Taken from the live network in Jan 2020
+        fracfallbackrelays = 0.023
 
         # Mean number of circuits created per client per epoch
         self.gamma = 8.9