mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
moved AddressBook to ClientContext
This commit is contained in:
parent
a96d70a94c
commit
af997473b2
8 changed files with 20 additions and 18 deletions
3
NetDb.h
3
NetDb.h
|
@ -15,7 +15,6 @@
|
|||
#include "LeaseSet.h"
|
||||
#include "Tunnel.h"
|
||||
#include "TunnelPool.h"
|
||||
#include "AddressBook.h"
|
||||
|
||||
namespace i2p
|
||||
{
|
||||
|
@ -67,7 +66,6 @@ namespace data
|
|||
void AddLeaseSet (const IdentHash& ident, const uint8_t * buf, int len, i2p::tunnel::InboundTunnel * from);
|
||||
RouterInfo * FindRouter (const IdentHash& ident) const;
|
||||
LeaseSet * FindLeaseSet (const IdentHash& destination) const;
|
||||
AddressBook& GetAddressBook () { return m_AddressBook; };// TODO: move AddressBook away from NetDb
|
||||
|
||||
void PublishLeaseSet (const LeaseSet * leaseSet, i2p::tunnel::TunnelPool * pool);
|
||||
void RequestDestination (const IdentHash& destination, bool isLeaseSet = false,
|
||||
|
@ -120,7 +118,6 @@ namespace data
|
|||
int m_ReseedRetries;
|
||||
std::thread * m_Thread;
|
||||
i2p::util::Queue<I2NPMessage> m_Queue; // of I2NPDatabaseStoreMsg
|
||||
AddressBook m_AddressBook;
|
||||
|
||||
static const char m_NetDbPath[];
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue