hs-exit-min 548 B

12345678910111213
  1. # By default, Authorities are not configured as exits
  2. Authority = Node(tag="a", authority=1, relay=1, torrc="authority.tmpl")
  3. ExitRelay = Node(tag="r", relay=1, exit=1, torrc="relay.tmpl")
  4. Client = Node(tag="c", torrc="client.tmpl")
  5. HS = Node(tag="h", hs=1, torrc="hs.tmpl")
  6. # We need 8 authorities/relays/exits to ensure at least 2 get the guard flag
  7. # in 0.2.6
  8. # We need 5 authorities/relays/exits to ensure we can build HS connections
  9. NODES = Authority.getN(2) + ExitRelay.getN(3) + \
  10. Client.getN(1) + HS.getN(1)
  11. ConfigureNodes(NODES)