aboutsummaryrefslogtreecommitdiff
path: root/src/p2p/net_node.inl
diff options
context:
space:
mode:
authorselsta <selsta@sent.at>2020-11-05 18:23:12 +0100
committerselsta <selsta@sent.at>2020-11-29 13:49:03 +0100
commit7a5e11645f8fbe0bb5c39b865bf7cf63ede63fa8 (patch)
tree3006dcb2e7d7ee559bdd8465dda3efc50a7e045e /src/p2p/net_node.inl
parentMerge pull request #7021 (diff)
downloadmonero-7a5e11645f8fbe0bb5c39b865bf7cf63ede63fa8.tar.xz
net_node: add tor / i2p seed nodes
Co-authored-by: Lee Clagett <code@leeclagett.com>
Diffstat (limited to 'src/p2p/net_node.inl')
-rw-r--r--src/p2p/net_node.inl16
1 files changed, 14 insertions, 2 deletions
diff --git a/src/p2p/net_node.inl b/src/p2p/net_node.inl
index f19865adb..64c740a22 100644
--- a/src/p2p/net_node.inl
+++ b/src/p2p/net_node.inl
@@ -781,9 +781,21 @@ namespace nodetool
case epee::net_utils::zone::public_:
return get_dns_seed_nodes();
case epee::net_utils::zone::tor:
- return {};
+ if (m_nettype == cryptonote::MAINNET)
+ {
+ return {
+ "xwvz3ekocr3dkyxfkmgm2hvbpzx2ysqmaxgter7znnqrhoicygkfswid.onion:18083",
+ "4pixvbejrvihnkxmduo2agsnmc3rrulrqc7s3cbwwrep6h6hrzsibeqd.onion:18083"
+ };
+ }
case epee::net_utils::zone::i2p:
- return {};
+ if (m_nettype == cryptonote::MAINNET)
+ {
+ return {
+ "s3l6ke4ed3df466khuebb4poienoingwof7oxtbo6j4n56sghe3a.b32.i2p:18080",
+ "sel36x6fibfzujwvt4hf5gxolz6kd3jpvbjqg6o3ud2xtionyl2q.b32.i2p:18080"
+ };
+ }
default:
break;
}