mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
Reseed through I2PControl
This commit is contained in:
5
NetDb.h
5
NetDb.h
@@ -15,6 +15,7 @@
|
||||
#include "LeaseSet.h"
|
||||
#include "Tunnel.h"
|
||||
#include "TunnelPool.h"
|
||||
#include "Reseed.h"
|
||||
|
||||
namespace i2p
|
||||
{
|
||||
@@ -83,6 +84,8 @@ namespace data
|
||||
|
||||
void PostI2NPMsg (I2NPMessage * msg);
|
||||
|
||||
void Reseed ();
|
||||
|
||||
// for web interface
|
||||
int GetNumRouters () const { return m_RouterInfos.size (); };
|
||||
int GetNumFloodfills () const { return m_Floodfills.size (); };
|
||||
@@ -119,6 +122,8 @@ namespace data
|
||||
std::thread * m_Thread;
|
||||
i2p::util::Queue<I2NPMessage> m_Queue; // of I2NPDatabaseStoreMsg
|
||||
|
||||
Reseeder * m_Reseeder;
|
||||
|
||||
static const char m_NetDbPath[];
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user