123456789 |
- Authority = Node(tag="a", authority=1, relay=1, torrc="authority.tmpl")
- Middle = Node(tag="m", relay=1, torrc="relay-non-exit.tmpl")
- Relay = Node(tag="r", relay=1, torrc="relay.tmpl")
- Client = Node(tag="c", torrc="client.tmpl")
- # We need 8 authorities/relays/exits to ensure at least 2 get the guard flag in 0.2.6
- NODES = Authority.getN(3) + Middle.getN(2) + Relay.getN(3) + Client.getN(2)
- ConfigureNodes(NODES)
|