From 6aab4a028e369f448ffefae47e422f700005331c Mon Sep 17 00:00:00 2001 From: Balthazar Date: Thu, 22 Jan 2015 05:03:38 -0500 Subject: [PATCH] RPC: getaddrmaninfo doesn't support Tor and I2P addresses at the moment. --- src/rpcnet.cpp | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/rpcnet.cpp b/src/rpcnet.cpp index 5025d70..f476ce0 100644 --- a/src/rpcnet.cpp +++ b/src/rpcnet.cpp @@ -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; -- 1.7.1