|
|
@ -2,6 +2,7 @@ |
|
|
|
#include <fstream> |
|
|
|
#include <fstream> |
|
|
|
#include <vector> |
|
|
|
#include <vector> |
|
|
|
#include <boost/asio.hpp> |
|
|
|
#include <boost/asio.hpp> |
|
|
|
|
|
|
|
#include <stdexcept> |
|
|
|
|
|
|
|
|
|
|
|
#include "I2PEndian.h" |
|
|
|
#include "I2PEndian.h" |
|
|
|
#include "Base.h" |
|
|
|
#include "Base.h" |
|
|
@ -139,8 +140,7 @@ namespace data |
|
|
|
auto numRouters = m_RouterInfos.size (); |
|
|
|
auto numRouters = m_RouterInfos.size (); |
|
|
|
if (numRouters == 0) |
|
|
|
if (numRouters == 0) |
|
|
|
{ |
|
|
|
{ |
|
|
|
LogPrint(eLogError, "NetDb: no known routers, reseed seems to be totally failed"); |
|
|
|
throw std::runtime_error("No known routers, reseed seems to be totally failed"); |
|
|
|
break; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
else // we have peers now
|
|
|
|
else // we have peers now
|
|
|
|
m_FloodfillBootstrap = nullptr; |
|
|
|
m_FloodfillBootstrap = nullptr; |
|
|
|