show b33 address for encrypted LeaseSet2

This commit is contained in:
orignal 2019-05-14 14:42:10 -04:00
parent 39400fd381
commit 743fa745b7
3 changed files with 8 additions and 0 deletions

View file

@ -3,6 +3,7 @@
#include <inttypes.h>
#include <string>
#include <vector>
#include "Identity.h"
namespace i2p

View file

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