mixed 658 B

123456789101112131415
  1. OLD_TOR="tor-stable"
  2. Authority = Node(tag="a", authority=1, relay=1, torrc="authority.tmpl")
  3. OldAuthority = Node(tag="aOLD", authority=1, relay=1, torrc="authority.tmpl",
  4. tor=OLD_TOR)
  5. Relay = Node(tag="r", relay=1, torrc="relay.tmpl")
  6. OldRelay = Node(tag="rOLD", relay=1, torrc="relay.tmpl", tor=OLD_TOR)
  7. Client = Node(tag="c", torrc="client.tmpl")
  8. OldClient = Node(tag="cOLD", torrc="client.tmpl", tor=OLD_TOR)
  9. # We need 8 authorities/relays/exits to ensure at least 2 get the guard flag in 0.2.6
  10. NODES = (Authority.getN(2) + OldAuthority.getN(2) + OldRelay.getN(2) +
  11. Relay.getN(2) + Client.getN(2) + OldClient.getN(2))
  12. ConfigureNodes(NODES)