Adding reseed support. v1, only http so far.

This commit is contained in:
Meeh 2014-01-31 07:22:11 +01:00
parent d107ef4007
commit 86355cfe09
7 changed files with 223 additions and 45 deletions

28
Reseed.h Normal file
View file

@ -0,0 +1,28 @@
#ifndef RESEED_H
#define RESEED_H
#include <string>
#include <vector>
namespace i2p
{
namespace data
{
class Reseeder
{
public:
Reseeder();
~Reseeder();
bool reseedNow();
private:
std::vector<std::string> httpReseedHostList = {
"http://193.150.121.66/netDb/",
"http://netdb.i2p2.no/"
};
};
}
}
#endif