mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-26 09:24:47 +00:00
net_node: add tor / i2p seed nodes
Co-authored-by: Lee Clagett <code@leeclagett.com>
This commit is contained in:
parent
850edfe419
commit
7a5e11645f
1 changed files with 14 additions and 2 deletions
|
@ -781,9 +781,21 @@ namespace nodetool
|
||||||
case epee::net_utils::zone::public_:
|
case epee::net_utils::zone::public_:
|
||||||
return get_dns_seed_nodes();
|
return get_dns_seed_nodes();
|
||||||
case epee::net_utils::zone::tor:
|
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:
|
case epee::net_utils::zone::i2p:
|
||||||
return {};
|
if (m_nettype == cryptonote::MAINNET)
|
||||||
|
{
|
||||||
|
return {
|
||||||
|
"s3l6ke4ed3df466khuebb4poienoingwof7oxtbo6j4n56sghe3a.b32.i2p:18080",
|
||||||
|
"sel36x6fibfzujwvt4hf5gxolz6kd3jpvbjqg6o3ud2xtionyl2q.b32.i2p:18080"
|
||||||
|
};
|
||||||
|
}
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue