git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
9403596
)
RPC: getaddrmaninfo doesn't support Tor and I2P addresses at the moment.
author
Balthazar
<balthazar@yandex.ru>
Thu, 22 Jan 2015 10:03:38 +0000 (
05:03
-0500)
committer
Balthazar
<balthazar@yandex.ru>
Thu, 22 Jan 2015 10:03:38 +0000 (
05:03
-0500)
src/rpcnet.cpp
patch
|
blob
|
history
diff --git
a/src/rpcnet.cpp
b/src/rpcnet.cpp
index
5025d70
..
f476ce0
100644
(file)
--- 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;