Skip to content

Commit ad4e2e5

Browse files
Merge pull request #21 from nightlydarkcoin/dnsseed
- use of proper darkcoin-seeder nodes
2 parents a2e69e4 + 21c4ba6 commit ad4e2e5

File tree

1 file changed

+8
-30
lines changed

1 file changed

+8
-30
lines changed

src/net.cpp

Lines changed: 8 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1196,38 +1196,16 @@ void MapPort(bool)
11961196
// Each pair gives a source name and a seed name.
11971197
// The first name is used as information source for addrman.
11981198
// The second name should resolve to a list of seed addresses.
1199-
12001199
static const char *strMainNetDNSSeed[][2] = {
1201-
{"", "23.23.186.131"}, //Evan's seed node
1202-
{"drkpool.com", "162.252.83.46"},
1203-
{"", "107.155.71.72"},
1204-
{"", "50.16.206.102"},
1205-
{"", "50.19.116.123"},
1206-
{"", "98.165.130.67"},
1207-
{"", "23.23.186.131"},
1208-
{"", "50.16.206.102"},
1209-
{"", "50.19.116.123"},
1210-
{"", "50.19.116.123"},
1211-
{"", "23.21.204.34"},
1212-
{"", "188.142.39.105"},
1213-
{"", "50.16.206.102"}, //InternetApe's seed node
1214-
{"", "23.23.186.131"},
1215-
{"", "50.19.116.123"},
1216-
{"", "54.248.227.151"},
1217-
{"", "42.121.58.91"},
1218-
{"", "50.81.192.39"},
1219-
{"", "54.193.124.32"},
1220-
{"", "62.141.39.175"},
1221-
{"", "5.254.96.3"},
1222-
{"", "175.115.201.44"},
1223-
{"", "208.53.191.2"},
1224-
{"", "162.243.33.16"},
1225-
{NULL, NULL},
1200+
{"darkcoin.io", "dnsseed.darkcoin.io"},
1201+
{"darkcoin.qa", "dnsseed.darkcoin.qa"},
1202+
{NULL, NULL}
12261203
};
12271204

12281205
static const char *strTestNetDNSSeed[][2] = {
1229-
{"", "23.23.186.131"},
1230-
{NULL, NULL},
1206+
{"darkcoin.io", "testnet-seed.darkcoin.io"},
1207+
{"darkcoin.qa", "testnet-seed.darkcoin.qa"},
1208+
{NULL, NULL}
12311209
};
12321210

12331211
void ThreadDNSAddressSeed()
@@ -1937,7 +1915,7 @@ void RelayDarkSendElectionEntry(const CTxIn vin, const CService addr, const std:
19371915
BOOST_FOREACH(CNode* pnode, vNodes)
19381916
{
19391917
pnode->PushMessage("dsee", vin, addr, vchSig, nNow, pubkey, pubkey2, count, current, lastUpdated);
1940-
}
1918+
}
19411919
}
19421920

19431921
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
19461924
BOOST_FOREACH(CNode* pnode, vNodes)
19471925
{
19481926
pnode->PushMessage("dseep", vin, vchSig, nNow, stop);
1949-
}
1927+
}
19501928
}

0 commit comments

Comments
 (0)