Browse Source

include https hosts to reseeder's list

pull/163/head
orignal 10 years ago
parent
commit
c88c6a9b63
  1. 2
      Reseed.cpp

2
Reseed.cpp

@ -123,7 +123,7 @@ namespace data @@ -123,7 +123,7 @@ namespace data
auto ind = rnd.GenerateWord32 (0, httpReseedHostList.size() - 1 + httpsReseedHostList.size () - 1);
std::string reseedHost = (ind < httpReseedHostList.size()) ? httpReseedHostList[ind] :
httpsReseedHostList[ind - httpReseedHostList.size()];
return ReseedFromSU3 (reseedHost);
return ReseedFromSU3 (reseedHost, ind >= httpReseedHostList.size());
}
int Reseeder::ReseedFromSU3 (const std::string& host, bool https)

Loading…
Cancel
Save