mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-27 03:07:49 +02:00
show b33 address for encrypted LeaseSet2
This commit is contained in:
parent
39400fd381
commit
743fa745b7
3 changed files with 8 additions and 0 deletions
|
@ -3,6 +3,7 @@
|
|||
|
||||
#include <inttypes.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include "Identity.h"
|
||||
|
||||
namespace i2p
|
||||
|
|
|
@ -181,6 +181,7 @@ namespace client
|
|||
// for HTTP only
|
||||
int GetNumRemoteLeaseSets () const { return m_RemoteLeaseSets.size (); };
|
||||
const decltype(m_RemoteLeaseSets)& GetLeaseSets () const { return m_RemoteLeaseSets; };
|
||||
bool IsEncryptedLeaseSet () const { return m_LeaseSetType == i2p::data::NETDB_STORE_TYPE_ENCRYPTED_LEASESET2; };
|
||||
};
|
||||
|
||||
class ClientDestination: public LeaseSetDestination
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue