mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
Reseed through I2PControl
This commit is contained in:
parent
f5b937667a
commit
027c43c99c
4 changed files with 44 additions and 19 deletions
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[];
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue