mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
NAMING LOOKUP for .b32 addresses
This commit is contained in:
parent
07654212f8
commit
e954d06edf
3 changed files with 53 additions and 15 deletions
|
@ -46,7 +46,8 @@ namespace data
|
|||
LeaseSet (const i2p::tunnel::TunnelPool& pool);
|
||||
LeaseSet& operator=(const LeaseSet& ) = default;
|
||||
void Update (const uint8_t * buf, int len);
|
||||
|
||||
const IdentityEx& GetIdentity () const { return m_Identity; };
|
||||
|
||||
const uint8_t * GetBuffer () const { return m_Buffer; };
|
||||
size_t GetBufferLen () const { return m_BufferLen; };
|
||||
|
||||
|
@ -54,7 +55,6 @@ namespace data
|
|||
void SetUnsolicited (bool unsolicited) { m_IsUnsolicited = unsolicited; };
|
||||
|
||||
// implements RoutingDestination
|
||||
const Identity& GetIdentity () const { return m_Identity.GetStandardIdentity (); };
|
||||
const IdentHash& GetIdentHash () const { return m_Identity.GetIdentHash (); };
|
||||
const std::vector<Lease>& GetLeases () const { return m_Leases; };
|
||||
const std::vector<Lease> GetNonExpiredLeases () const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue