mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-27 11:17:49 +02:00
add primordial goo tier "hidden mode" (aka toy feature needs more work doesn't do it correctly all the way)
This commit is contained in:
parent
004a93a841
commit
93deb37c94
5 changed files with 27 additions and 4 deletions
|
@ -333,6 +333,7 @@ namespace tunnel
|
|||
int numHops = isInbound ? m_NumInboundHops : m_NumOutboundHops;
|
||||
if(i2p::transport::transports.RoutesRestricted())
|
||||
{
|
||||
/** if routes are restricted prepend trusted first hop */
|
||||
auto hop = i2p::transport::transports.GetRestrictedPeer();
|
||||
if(!hop) return false;
|
||||
peers.push_back(hop->GetRouterIdentity());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue