RPC: getaddrmaninfo doesn't support Tor and I2P addresses at the moment.
authorBalthazar <balthazar@yandex.ru>
Thu, 22 Jan 2015 10:03:38 +0000 (05:03 -0500)
committerBalthazar <balthazar@yandex.ru>
Thu, 22 Jan 2015 10:03:38 +0000 (05:03 -0500)
src/rpcnet.cpp

index 5025d70..f476ce0 100644 (file)
@@ -58,11 +58,12 @@ Value getaddrmaninfo(const Array& params, bool fHelp)
         string strNetType;
         switch(addr.GetNetwork())
         {
-            case NET_TOR:
-                strNetType = "tor";
-            break;
-            case NET_I2P:
-                strNetType = "i2p";
+//            case NET_TOR:
+//                strNetType = "tor";
+//            break;
+//            case NET_I2P:
+//                strNetType = "i2p";
+//            break;
             case NET_IPV4:
                 strNetType = "ipv4";
             break;