[bisq-network/bisq-assets] Add support for CryptoTari; add Stellar token address validator (#19)

Manfred Karrer notifications at github.com
Tue May 29 20:37:24 UTC 2018


ManfredKarrer commented on this pull request.



> + * Validates whether a stellar address has the necessary trustline
+ * established to receive the token. The validator uses the stellar
+ * horizon network to do the lookup.
+ *
+ * @author Peter Molnar/litlp007
+ * @since 0.7.0
+ */
+public class StellarTokenAddressValidator implements AddressValidator {
+
+   private String code;
+   private String issuer;
+
+   public static String getText(String url) throws Exception {
+        URL website = new URL(url);
+        URLConnection connection = website.openConnection();
+        BufferedReader in = new BufferedReader(

Thanks for the explanation. I still would prefer than the offline online validation and risk some arbitration cases rather to can clear-net URL connections. All network connection in Bisq run over Tor to avoid leaking the IP via clear-net calls. 

-- 
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-assets/pull/19#discussion_r191565534
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20180529/ccfda703/attachment-0002.html>


More information about the github mailing list