| 123456789101112 | # By default, Authorities are not configured as exitsAuthority = Node(tag="a", authority=1, relay=1, torrc="authority.tmpl")ExitRelay = Node(tag="r", relay=1, exit=1, torrc="relay.tmpl")Client = Node(tag="c", torrc="client.tmpl")# Since only 25% of relays get the guard flag,# TestingDirAuthVoteGuard * may need to be used in small networks# The minimum number of authorities/relays/exits is 3, the minimum path lengthNODES = Authority.getN(2) + ExitRelay.getN(1) + Client.getN(1)ConfigureNodes(NODES)
 |