mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 21:37:17 +01:00
two tunnels for shared local destination
This commit is contained in:
parent
4d85079372
commit
949fc47f31
|
@ -401,7 +401,14 @@ namespace client
|
||||||
|
|
||||||
void ClientContext::CreateNewSharedLocalDestination ()
|
void ClientContext::CreateNewSharedLocalDestination ()
|
||||||
{
|
{
|
||||||
m_SharedLocalDestination = CreateNewLocalDestination (); // non-public, EDDSA
|
std::map<std::string, std::string> params
|
||||||
|
{
|
||||||
|
{ I2CP_PARAM_INBOUND_TUNNELS_QUANTITY, "2" },
|
||||||
|
{ I2CP_PARAM_OUTBOUND_TUNNELS_QUANTITY, "2" },
|
||||||
|
{ I2CP_PARAM_LEASESET_TYPE, "3" }
|
||||||
|
};
|
||||||
|
m_SharedLocalDestination = CreateNewLocalDestination (false, i2p::data::SIGNING_KEY_TYPE_EDDSA_SHA512_ED25519,
|
||||||
|
i2p::data::CRYPTO_KEY_TYPE_ELGAMAL, ¶ms); // non-public, EDDSA
|
||||||
m_SharedLocalDestination->Acquire ();
|
m_SharedLocalDestination->Acquire ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue