mirror of
https://github.com/PurpleI2P/i2pd
synced 2024-11-10 00:00:29 +03: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 ()
|
||||
{
|
||||
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 ();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user