hs-v2-min 794 B

12345678910111213141516171819
  1. # Identical to hs-min, but called hs-v2-min so failures are easier to diagnose
  2. # By default, Authorities are not configured as exits
  3. Authority = Node(tag="a", authority=1, relay=1, torrc="authority.tmpl")
  4. NonExitRelay = Node(tag="r", relay=1, torrc="relay-non-exit.tmpl")
  5. Client = Node(tag="c", client=1, torrc="client.tmpl")
  6. HS = Node(tag="h", hs=1, torrc="hs.tmpl")
  7. # Since only 25% of relays get the guard flag,
  8. # TestingDirAuthVoteGuard * may need to be used in small networks
  9. # A hidden service needs 5 authorities/relays to ensure it can build HS
  10. # connections:
  11. # a minimum path length of 3, plus the client-nominated rendezvous point,
  12. # plus a seperate introduction point
  13. NODES = Authority.getN(2) + NonExitRelay.getN(3) + \
  14. Client.getN(1) + HS.getN(1)
  15. ConfigureNodes(NODES)