[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [sbws/master] circuitbuilder: add comment about future refactor



commit b6c67753771daebafb2521c5875997dc573ea430
Author: juga0 <juga@xxxxxxxxxx>
Date:   Wed Feb 6 17:34:39 2019 +0000

    circuitbuilder: add comment about future refactor
---
 sbws/lib/circuitbuilder.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sbws/lib/circuitbuilder.py b/sbws/lib/circuitbuilder.py
index 95e670a..c5bae5c 100644
--- a/sbws/lib/circuitbuilder.py
+++ b/sbws/lib/circuitbuilder.py
@@ -87,6 +87,9 @@ class CircuitBuilder:
         self.built_circuits.clear()
 
 
+# In a future refactor, remove this class, since sbws chooses the relays to
+# build the circuit, the relays are not just choosen as random as this class
+# does.
 class GapsCircuitBuilder(CircuitBuilder):
     ''' The build_circuit member function takes a list. Falsey values in the
     list will be replaced with relays chosen uniformally at random; Truthy



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits