separate requsted and unsolicited LeaseSets

This commit is contained in:
orignal 2014-10-13 17:45:07 -04:00
parent 96e8cab8fb
commit 3a4b6bd7b0
10 changed files with 32 additions and 36 deletions

View file

@ -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