settings = TunnelSettings() # For disabling anonymous downloading, limiting download to hidden services only settings.min_circuits = 0 settings.max_circuits = 0 settings.become_exitnode = True crawl_keypair_filename = None dispersy_port = -1 tunnel = Tunnel(settings, crawl_keypair_filename, dispersy_port) #StandardIO(LineHandler(tunnel, profile)) tunnel.start(None) print("successful instantiation") #prepare the possibility to get a child bc = Birthchamber() #this should actually compare with the current necessary bitcoins plus a small margin while(wallet.balance()<bc.getChildCost()): print("Not enough bitcoins, waiting for money to arrive") sleep(600) bc.getChild() #get the wallet address of the child f = open("python.log", "r") fr = f.read()