[tor-commits] [sbws/master] circuitbuilder: add comment about future refactor
juga at torproject.org
juga at torproject.org
Fri Feb 15 17:42:48 UTC 2019
commit b6c67753771daebafb2521c5875997dc573ea430
Author: juga0 <juga at riseup.net>
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
More information about the tor-commits
mailing list