mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-27 11:17:49 +02:00
exploratory pool added
This commit is contained in:
parent
4970b4d14e
commit
489266e7fc
5 changed files with 6 additions and 4 deletions
|
@ -9,6 +9,7 @@
|
|||
#include "LeaseSet.h"
|
||||
#include "I2NPProtocol.h"
|
||||
#include "TunnelBase.h"
|
||||
#include "RouterContext.h"
|
||||
|
||||
namespace i2p
|
||||
{
|
||||
|
@ -27,7 +28,8 @@ namespace tunnel
|
|||
|
||||
const uint8_t * GetEncryptionPrivateKey () const { return m_LocalDestination.GetEncryptionPrivateKey (); };
|
||||
const uint8_t * GetEncryptionPublicKey () const { return m_LocalDestination.GetEncryptionPublicKey (); };
|
||||
|
||||
bool IsExploratory () const { return &m_LocalDestination == &i2p::context; };
|
||||
|
||||
void CreateTunnels ();
|
||||
void TunnelCreated (InboundTunnel * createdTunnel);
|
||||
void TunnelExpired (InboundTunnel * expiredTunnel);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue