Authority = Node(tag="a", authority=1, relay=1, torrc="authority.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 # Since basic-min only has 4, at least 1 of these should still get the flag, # Otherwise, TestingDirAuthVoteGuard * may need to be used NODES = Authority.getN(3) + Relay.getN(1) + Client.getN(1) ConfigureNodes(NODES)