mirror of
https://github.com/GOSTSec/gostcoin
synced 2025-01-29 16:04:32 +00:00
testnet i2p dnsseed
This commit is contained in:
parent
7fdfded4e3
commit
7aa70201ee
18
src/net.cpp
18
src/net.cpp
@ -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] = {
|
||||
void ThreadDNSAddressSeed()
|
||||
{
|
||||
static const char *(*strDNSSeed)[2] = fTestNet ? strTestNetDNSSeed : strMainNetDNSSeed;
|
||||
static const char *(*strI2PDNSSeed)[2] = fTestNet ? strTestNetI2PDNSSeed : strMainNetI2PDNSSeed;
|
||||
|
||||
int found = 0;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user