diff --git a/network/tor/tor/src/main/java/bisq/tor/controller/WhonixTorController.java b/network/tor/tor/src/main/java/bisq/tor/controller/TorControlProtocol.java similarity index 97% rename from network/tor/tor/src/main/java/bisq/tor/controller/WhonixTorController.java rename to network/tor/tor/src/main/java/bisq/tor/controller/TorControlProtocol.java index bd39262bf5..44c54d044a 100644 --- a/network/tor/tor/src/main/java/bisq/tor/controller/WhonixTorController.java +++ b/network/tor/tor/src/main/java/bisq/tor/controller/TorControlProtocol.java @@ -10,12 +10,12 @@ import java.nio.charset.StandardCharsets; import java.util.List; -public class WhonixTorController implements AutoCloseable { +public class TorControlProtocol implements AutoCloseable { private final Socket controlSocket; private final WhonixTorControlReader whonixTorControlReader; private final OutputStream outputStream; - public WhonixTorController(int port) throws IOException { + public TorControlProtocol(int port) throws IOException { controlSocket = new Socket("127.0.0.1", port); whonixTorControlReader = new WhonixTorControlReader(controlSocket.getInputStream()); outputStream = controlSocket.getOutputStream();