[bisq-network/bisq] Torrc (#1893)
Florian Reimair
notifications at github.com
Wed Nov 7 18:34:11 UTC 2018
freimair commented on this pull request.
> @@ -257,6 +258,20 @@ private void createTorAndHiddenService(File torDir, int localPort, int servicePo
}
}
+ // check if the user wants to temporarily add to the default torrc file
+ LinkedHashMap<String, String> tmp = new LinkedHashMap<>();
+ System.getProperties().forEach((k, v) -> {
+ if(((String) k).startsWith("torrc:"))
+ tmp.put(((String) k).substring(6), (String) v);
+ });
+ if(!tmp.isEmpty())
+ // check for custom torrcfile
+ if(null != override)
Well, an old habit of mine. [For your reference.](https://en.wikipedia.org/wiki/Yoda_conditions)
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/pull/1893#discussion_r231626401
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20181107/4be403ec/attachment.html>
More information about the bisq-github
mailing list