mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
separate requsted and unsolicited LeaseSets
This commit is contained in:
parent
96e8cab8fb
commit
3a4b6bd7b0
10 changed files with 32 additions and 36 deletions
2
NetDb.h
2
NetDb.h
|
@ -64,7 +64,7 @@ namespace data
|
|||
void Stop ();
|
||||
|
||||
void AddRouterInfo (const IdentHash& ident, const uint8_t * buf, int len);
|
||||
void AddLeaseSet (const IdentHash& ident, const uint8_t * buf, int len);
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue