This commit is contained in:
Михаил Подивилов 2019-05-11 18:55:13 +03:00
parent 4032a611bf
commit 895416fc1f

View file

@ -86,7 +86,7 @@ namespace data
while (reseedRetries < 10) while (reseedRetries < 10)
{ {
auto ind = rand () % httpsReseedHostList.size (); auto ind = rand () % httpsReseedHostList.size ();
std::string reseedUrl = httpsReseedHostList[ind] + "dotnetseeds.su3"; std::string reseedUrl = httpsReseedHostList[ind] + "seeds.su3";
auto num = ReseedFromSU3Url (reseedUrl); auto num = ReseedFromSU3Url (reseedUrl);
if (num > 0) return num; // success if (num > 0) return num; // success
reseedRetries++; reseedRetries++;
@ -144,7 +144,7 @@ namespace data
} }
} }
const char SU3_MAGIC_NUMBER[]="DOTNETsu3"; const char SU3_MAGIC_NUMBER[]="su3";
int Reseeder::ProcessSU3Stream (std::istream& s) int Reseeder::ProcessSU3Stream (std::istream& s)
{ {
char magicNumber[7]; char magicNumber[7];