diff options
author | Alexander Blair <snipa@jagtech.io> | 2020-12-03 12:17:43 -0800 |
---|---|---|
committer | Alexander Blair <snipa@jagtech.io> | 2020-12-03 12:17:44 -0800 |
commit | 84bae315f8883121dcba225fcc07cd0f6d82b7c4 (patch) | |
tree | 8a65253311c114799951e907e06a8c4057d233b7 | |
parent | Merge pull request #7025 (diff) | |
parent | net_node: add tor / i2p seed nodes (diff) | |
download | monero-84bae315f8883121dcba225fcc07cd0f6d82b7c4.tar.xz |
Merge pull request #6984
7a5e11645 net_node: add tor / i2p seed nodes (selsta)
-rw-r--r-- | src/p2p/net_node.inl | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/src/p2p/net_node.inl b/src/p2p/net_node.inl index 2f47de0f0..5ef40218d 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; } |