mirror of
https://github.com/dashpay/dash.git
synced 2024-12-28 21:42:47 +01:00
- use of proper darkcoin-seeder nodes
- source of darkcoin-seeder can be found at https://github.com/nightlydarkcoin/darkcoin-seeder
This commit is contained in:
parent
a2e69e4cb9
commit
21c4ba6643
38
src/net.cpp
38
src/net.cpp
@ -1196,38 +1196,16 @@ void MapPort(bool)
|
|||||||
// Each pair gives a source name and a seed name.
|
// Each pair gives a source name and a seed name.
|
||||||
// The first name is used as information source for addrman.
|
// The first name is used as information source for addrman.
|
||||||
// The second name should resolve to a list of seed addresses.
|
// The second name should resolve to a list of seed addresses.
|
||||||
|
|
||||||
static const char *strMainNetDNSSeed[][2] = {
|
static const char *strMainNetDNSSeed[][2] = {
|
||||||
{"", "23.23.186.131"}, //Evan's seed node
|
{"darkcoin.io", "dnsseed.darkcoin.io"},
|
||||||
{"drkpool.com", "162.252.83.46"},
|
{"darkcoin.qa", "dnsseed.darkcoin.qa"},
|
||||||
{"", "107.155.71.72"},
|
{NULL, NULL}
|
||||||
{"", "50.16.206.102"},
|
|
||||||
{"", "50.19.116.123"},
|
|
||||||
{"", "98.165.130.67"},
|
|
||||||
{"", "23.23.186.131"},
|
|
||||||
{"", "50.16.206.102"},
|
|
||||||
{"", "50.19.116.123"},
|
|
||||||
{"", "50.19.116.123"},
|
|
||||||
{"", "23.21.204.34"},
|
|
||||||
{"", "188.142.39.105"},
|
|
||||||
{"", "50.16.206.102"}, //InternetApe's seed node
|
|
||||||
{"", "23.23.186.131"},
|
|
||||||
{"", "50.19.116.123"},
|
|
||||||
{"", "54.248.227.151"},
|
|
||||||
{"", "42.121.58.91"},
|
|
||||||
{"", "50.81.192.39"},
|
|
||||||
{"", "54.193.124.32"},
|
|
||||||
{"", "62.141.39.175"},
|
|
||||||
{"", "5.254.96.3"},
|
|
||||||
{"", "175.115.201.44"},
|
|
||||||
{"", "208.53.191.2"},
|
|
||||||
{"", "162.243.33.16"},
|
|
||||||
{NULL, NULL},
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static const char *strTestNetDNSSeed[][2] = {
|
static const char *strTestNetDNSSeed[][2] = {
|
||||||
{"", "23.23.186.131"},
|
{"darkcoin.io", "testnet-seed.darkcoin.io"},
|
||||||
{NULL, NULL},
|
{"darkcoin.qa", "testnet-seed.darkcoin.qa"},
|
||||||
|
{NULL, NULL}
|
||||||
};
|
};
|
||||||
|
|
||||||
void ThreadDNSAddressSeed()
|
void ThreadDNSAddressSeed()
|
||||||
@ -1937,7 +1915,7 @@ void RelayDarkSendElectionEntry(const CTxIn vin, const CService addr, const std:
|
|||||||
BOOST_FOREACH(CNode* pnode, vNodes)
|
BOOST_FOREACH(CNode* pnode, vNodes)
|
||||||
{
|
{
|
||||||
pnode->PushMessage("dsee", vin, addr, vchSig, nNow, pubkey, pubkey2, count, current, lastUpdated);
|
pnode->PushMessage("dsee", vin, addr, vchSig, nNow, pubkey, pubkey2, count, current, lastUpdated);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void RelayDarkSendElectionEntryPing(const CTxIn vin, const std::vector<unsigned char> vchSig, const int64 nNow, const bool stop)
|
void RelayDarkSendElectionEntryPing(const CTxIn vin, const std::vector<unsigned char> vchSig, const int64 nNow, const bool stop)
|
||||||
@ -1946,5 +1924,5 @@ void RelayDarkSendElectionEntryPing(const CTxIn vin, const std::vector<unsigned
|
|||||||
BOOST_FOREACH(CNode* pnode, vNodes)
|
BOOST_FOREACH(CNode* pnode, vNodes)
|
||||||
{
|
{
|
||||||
pnode->PushMessage("dseep", vin, vchSig, nNow, stop);
|
pnode->PushMessage("dseep", vin, vchSig, nNow, stop);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user