hs-v3 597 B

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