Browse Source

testnet i2p dnsseed

pull/26/head
R4SAS 7 years ago
parent
commit
7aa70201ee
  1. 18
      src/net.cpp

18
src/net.cpp

@ -1218,25 +1218,26 @@ void ThreadSocketHandler() @@ -1218,25 +1218,26 @@ void ThreadSocketHandler()
}
}
static const char *strI2PDNSSeed[][2] = {
// DNS seeds
// Each pair gives a source name and a seed name.
// The first name is used as information source for addrman.
// The second name should resolve to a list of seed addresses.
static const char *strMainNetI2PDNSSeed[][2] = {
{"cxlrsrjc7kwcoqm6mnhsrjw6pkglt5hk5q5ctrullz5wyhfv2ylq.b32.i2p","cxlrsrjc7kwcoqm6mnhsrjw6pkglt5hk5q5ctrullz5wyhfv2ylq.b32.i2p"}, // xcps
{"6kpijk3ykvn7yqloxmkmudoow326dubsrzrxqbkwstrxb73z4auq.b32.i2p","6kpijk3ykvn7yqloxmkmudoow326dubsrzrxqbkwstrxb73z4auq.b32.i2p"}, // R4SAS
{"xq7jlz5t5n3phb62ro2zicg4zzhibzlflgci4xnhsdi3wr6ihixq.b32.i2p","xq7jlz5t5n3phb62ro2zicg4zzhibzlflgci4xnhsdi3wr6ihixq.b32.i2p"}, // pisekot
{"hwzq7fjamed457qurgl23ck5z3jhziqjtwrag24t34qs3jugzr7q.b32.i2p","hwzq7fjamed457qurgl23ck5z3jhziqjtwrag24t34qs3jugzr7q.b32.i2p"} // pool.gostcoin.i2p
};
// DNS seeds
// Each pair gives a source name and a seed name.
// The first name is used as information source for addrman.
// The second name should resolve to a list of seed addresses.
static const char *strTestNetI2PDNSSeed[][2] = {
{"mok4u7ifgpdyv6dfo63l2xw63dy7gwjvxekvc3rs4cejyl64lomq.b32.i2p","mok4u7ifgpdyv6dfo63l2xw63dy7gwjvxekvc3rs4cejyl64lomq.b32.i2p"} // pool.gostcoin.i2p
};
static const char *strMainNetDNSSeed[][2] = {
{"gostco.in", "dnsseed.gostco.in"},
{"failover", "dnsseed1.gostco.in"},
{"pisekot", "neko.pisekot.ru"},
{"pool.gostco.in","pool.gostco.in"},
// {"anoncoin.net", "dnsseed01.anoncoin.net"},
{NULL, NULL}
};
@ -1248,6 +1249,7 @@ static const char *strTestNetDNSSeed[][2] = { @@ -1248,6 +1249,7 @@ static const char *strTestNetDNSSeed[][2] = {
void ThreadDNSAddressSeed()
{
static const char *(*strDNSSeed)[2] = fTestNet ? strTestNetDNSSeed : strMainNetDNSSeed;
static const char *(*strI2PDNSSeed)[2] = fTestNet ? strTestNetI2PDNSSeed : strMainNetI2PDNSSeed;
int found = 0;

Loading…
Cancel
Save