Bläddra i källkod

wip building circuits for telescoping

Chelsea H. Komlo 4 år sedan
förälder
incheckning
27038d6843
1 ändrade filer med 1 tillägg och 7 borttagningar
  1. 1 7
      client.py

+ 1 - 7
client.py

@@ -140,13 +140,7 @@ class ClientChannelManager(relay.ChannelManager):
         """Create a new circuit from this client. (Telescoping Walking Onions
         version)"""
 
-        # Get our channel to the guard- walking onions assumes the client can
-        # botostrap the first hop using out-of-channel mechanisms
-        print("GUARD ADDRESS " + self.guardaddr)
-        guardchannel = self.get_channel_to(self.guardaddr)
-
-        # Allocate a new circuit id on it
-        circid, circhandler = guardchannel.new_circuit()
+        print("TO IMPLEMENT")
 
     def new_circuit(self):
         """Create a new circuit from this client."""