mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
don't copy RouterInfos and LeaseSets
This commit is contained in:
4
NetDb.h
4
NetDb.h
@@ -58,8 +58,8 @@ namespace data
|
||||
void Start ();
|
||||
void Stop ();
|
||||
|
||||
void AddRouterInfo (uint8_t * buf, int len);
|
||||
void AddLeaseSet (uint8_t * buf, int len);
|
||||
void AddRouterInfo (const IdentHash& ident, uint8_t * buf, int len);
|
||||
void AddLeaseSet (const IdentHash& ident, uint8_t * buf, int len);
|
||||
RouterInfo * FindRouter (const IdentHash& ident) const;
|
||||
LeaseSet * FindLeaseSet (const IdentHash& destination) const;
|
||||
const IdentHash * FindAddress (const std::string& address) { return m_AddressBook.FindAddress (address); }; // TODO: move AddressBook away from NetDb
|
||||
|
||||
Reference in New Issue
Block a user